a8234ddd4e
clang is already installed in travis' trusty environment Should decrease build time quite a bit because we don't need to download and compule libc++
9 lines
197 B
Bash
Executable File
9 lines
197 B
Bash
Executable File
#!/bin/bash
|
|
# Update compiler flags
|
|
if [ "${CXX}" = "clang++" ]; then
|
|
export CXXFLAGS="${CXXFLAGS} -Qunused-arguments"
|
|
elif [ "${CXX}" = "g++" ]; then
|
|
export CXX="g++-5"
|
|
export CC="gcc-5"
|
|
fi
|