diff options
author | 2020-10-20 03:37:21 +0200 | |
---|---|---|
committer | 2021-12-08 11:42:54 +0000 | |
commit | a68911f36b67c7dd8eb319c8cfb32d1c0cbcbf69 (patch) | |
tree | db77b797dc2ad20b6e5a7a0fc537ef6d56e51e05 | |
parent | 84ed0fb3e290252889757c9222bb06a036d0a2c8 (diff) | |
download | paludis-a68911f36b67c7dd8eb319c8cfb32d1c0cbcbf69.tar.gz paludis-a68911f36b67c7dd8eb319c8cfb32d1c0cbcbf69.tar.xz |
ci: Honour CXXFLAGS provided via environment
-rwxr-xr-x | ci/configure-paludis.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/configure-paludis.sh b/ci/configure-paludis.sh index 93459785f..8772b1c6f 100755 --- a/ci/configure-paludis.sh +++ b/ci/configure-paludis.sh @@ -41,11 +41,11 @@ fi if [[ ${BUILD_TYPE} == "release" ]]; then CMAKE_BUILD_TYPE="Release" - CXXFLAGS="-pipe -O2" + CXXFLAGS="${CXXFLAGS} -pipe -O2" LDFLAGS="" elif [[ ${BUILD_TYPE} == "debug" ]]; then CMAKE_BUILD_TYPE="Debug" - CXXFLAGS="-pipe -O0 -pedantic -g3" + CXXFLAGS="${CXXFLAGS} -pipe -O0 -pedantic -g3" LDFLAGS="" elif [[ ${3} == "coverage" ]]; then CMAKE_BUILD_TYPE="Debug" |