1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-04-21 17:42:23 -04:00
polybar/common/travis/environment.sh
2018-04-10 00:56:51 +02:00

10 lines
256 B
Bash
Executable file

#!/bin/bash
# Update compiler flags
if [ "${CXX:0:7}" = "clang++" ]; then
export CXX="clang++-3.8"
export CC="clang-3.8"
export CXXFLAGS="${CXXFLAGS} -Qunused-arguments"
elif [ "${CXX:0:3}" = "g++" ]; then
export CXX="g++-5"
export CC="gcc-5"
fi