polybar-dwm/common/travis/environment.sh
patrick96 a8234ddd4e travis: Don't install specific compilers
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++
2018-04-11 19:37:50 -07:00

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