2016-12-15 19:22:42 +00:00
|
|
|
#!/bin/bash
|
2016-11-19 07:55:46 +00:00
|
|
|
# Update compiler flags
|
2018-04-08 12:32:02 +00:00
|
|
|
if [ "${CXX}" = "clang++" ]; then
|
2016-11-19 07:55:46 +00:00
|
|
|
export CXXFLAGS="${CXXFLAGS} -Qunused-arguments"
|
2018-04-08 12:32:02 +00:00
|
|
|
elif [ "${CXX}" = "g++" ]; then
|
2016-12-15 20:32:05 +00:00
|
|
|
export CXX="g++-5"
|
|
|
|
export CC="gcc-5"
|
2016-11-19 07:55:46 +00:00
|
|
|
fi
|