From ab7682408eb6653922776225d5d9c659ef063a81 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 17 Jul 2018 21:50:13 +0200 Subject: Fix CFLAGS in travis build. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 49b71bb1..ff313b07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,8 @@ install: - pip install -U beautifulsoup4 cssselect html5lib script: - - CFLAGS="-O0 -g" python -u setup.py build_ext --inplace $(if [ -n "${TRAVIS_PYTHON_VERSION##2.*}" -a -n "${TRAVIS_PYTHON_VERSION##3.[34]*}" ]; then echo -n " -j7 "; fi ) - - CFLAGS="-O0 -g" PYTHONUNBUFFERED=x make test + - CFLAGS="-O0 -g -fPIC" python -u setup.py build_ext --inplace $(if [ -n "${TRAVIS_PYTHON_VERSION##2.*}" -a -n "${TRAVIS_PYTHON_VERSION##3.[34]*}" ]; then echo -n " -j7 "; fi ) + - CFLAGS="-O0 -g -fPIC" PYTHONUNBUFFERED=x make test matrix: allow_failures: -- cgit v1.2.1