diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2014-10-10 22:57:20 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2014-10-10 22:57:20 +0200 |
commit | 98b0f5dbda72b0861362e5a0e904ed55ae11d7ee (patch) | |
tree | 14b950f31d542f26dc42e449474c43bf2f938980 | |
parent | 64c5b1acdb520d1a8aefb7bbd0a82c6864bf7598 (diff) | |
download | cython-98b0f5dbda72b0861362e5a0e904ed55ae11d7ee.tar.gz |
travis build: force use of "-fno-strict-aliasing" in Py2
--HG--
extra : transplant_source : %A4%C2%DA%5EV%1C%17%07%E3%E9%9E%C7%AB%1EF%2C%C8%A7%1C%5D
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 462129537..941b1dacd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,8 @@ before_install: - sudo apt-get install gdb python$( python -c 'import sys; print("%d.%d" % sys.version_info[:2])' )-dbg || true - dpkg -l | grep gdb || true -install: CFLAGS="-O2 -ggdb -Wall -Wextra" python setup.py build +install: + - CFLAGS="-O2 -ggdb -Wall -Wextra $(python -c 'import sys; print("-fno-strict-aliasing" if sys.version_info[0] == 2 else "")')" python setup.py build script: - PYTHON_DBG="python$( python -c 'import sys; print("%d.%d" % sys.version_info[:2])' )-dbg" |