diff options
author | Daniel Black <daniel@linux.ibm.com> | 2018-11-23 11:46:52 +1100 |
---|---|---|
committer | Daniel Black <daniel@linux.ibm.com> | 2018-11-23 15:03:32 +1100 |
commit | 85c9c07cd64f93b8e59c21c9c34c37f7a66d49c1 (patch) | |
tree | 2f75bcb5e3777d4467d557847d68c733a327ab3d /.travis.compiler.sh | |
parent | 00c5c225a1aaa4618065b33f33a57265f524fb3b (diff) | |
download | mariadb-git-85c9c07cd64f93b8e59c21c9c34c37f7a66d49c1.tar.gz |
travis: clang - C{,XX}FLAGS=-Wno-unused-command-line-argument
Diffstat (limited to '.travis.compiler.sh')
-rwxr-xr-x | .travis.compiler.sh | 3 |
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} |