Skip to content
Permalink
Browse files
travis: clang - C{,XX}FLAGS=-Wno-unused-command-line-argument
  • Loading branch information
grooverdan committed Nov 23, 2018
1 parent 00c5c22 commit 85c9c07
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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}

0 comments on commit 85c9c07

Please sign in to comment.