From 42a8e8a0ec9302cd4baded343985bc083c692529 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 16 Apr 2014 16:20:51 -0400 Subject: clang clang clang goes the CI --- .travis/run.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.travis') diff --git a/.travis/run.sh b/.travis/run.sh index 6739c886..6686a20f 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -6,8 +6,9 @@ set -x if [[ "$(uname -s)" == "Darwin" ]]; then eval "$(pyenv init -)" if [[ "${OPENSSL}" != "0.9.8" ]]; then - # so set our flags to use homebrew openssl - export ARCHFLAGS="-arch x86_64" + # set our flags to use homebrew openssl and not error on + # unused compiler args (looking at you mno-fused-madd) + export ARCHFLAGS="-arch x86_64 -Wno-error=unused-command-line-argument-hard-error-in-future" export LDFLAGS="-L/usr/local/opt/openssl/lib" export CFLAGS="-I/usr/local/opt/openssl/include" # The Travis OS X jobs are run for two versions @@ -15,6 +16,8 @@ if [[ "$(uname -s)" == "Darwin" ]]; then # CommonCrypto backend tests once. Exclude # CommonCrypto when we test against brew OpenSSL export TOX_FLAGS="--backend=openssl" + else + export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" fi fi source ~/.venv/bin/activate -- cgit v1.2.3