aboutsummaryrefslogtreecommitdiff
path: root/ci/configure-paludis.sh
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2020-10-20 03:37:21 +0200
committerAvatar Marvin Schmidt <marvin.schmidt1987@gmail.com> 2021-12-08 11:42:54 +0000
commita68911f36b67c7dd8eb319c8cfb32d1c0cbcbf69 (patch)
treedb77b797dc2ad20b6e5a7a0fc537ef6d56e51e05 /ci/configure-paludis.sh
parent84ed0fb3e290252889757c9222bb06a036d0a2c8 (diff)
downloadpaludis-a68911f36b67c7dd8eb319c8cfb32d1c0cbcbf69.tar.gz
paludis-a68911f36b67c7dd8eb319c8cfb32d1c0cbcbf69.tar.xz
ci: Honour CXXFLAGS provided via environment
Diffstat (limited to 'ci/configure-paludis.sh')
-rwxr-xr-xci/configure-paludis.sh4
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"