summaryrefslogtreecommitdiff
path: root/.travis.compiler.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis.compiler.sh')
-rwxr-xr-x.travis.compiler.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.compiler.sh b/.travis.compiler.sh
index 558bded8579..96872ef9539 100755
--- a/.travis.compiler.sh
+++ b/.travis.compiler.sh
@@ -31,6 +31,9 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then
export CXX=${CXX}-${CC_VERSION}
fi
export CC=${CXX/++/}
+ # excess warnings about unused include path
+ export CFLAGS='-Wno-unused-command-line-argument'
+ export CXXFLAGS='-Wno-unused-command-line-argument'
elif [[ "${CXX}" == 'g++' ]]; then
export CXX=g++-${CC_VERSION}
export CC=gcc-${CC_VERSION}