summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2018-07-23 19:34:10 +0200
committerChristian Pointner <equinox@anytun.org>2018-07-23 19:34:10 +0200
commite81d828271936aead763d3c4401c5ae4681c1c10 (patch)
tree6348fbd037706f641648da77b24a167224ae2fb2 /src
parentupdated openssl build script for windows (diff)
honor external build flags
Diffstat (limited to 'src')
-rwxr-xr-xsrc/configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configure b/src/configure
index b8a7f3f..9cdce48 100755
--- a/src/configure
+++ b/src/configure
@@ -217,12 +217,12 @@ if [ -n "$ERRORS" ] && [ $EBUILD_COMPAT -ne 1 ]; then
fi
if [ $USE_CLANG -eq 0 ]; then
- CXXFLAGS='-g -Wall -Werror -Wno-error=unused-variable -O2'
- LDFLAGS='-g -Wall -Werror -O2'
+ CXXFLAGS=$CXXFLAGS' -g -Wall -Werror -Wno-error=unused-variable -O2'
+ LDFLAGS=$LDFLAGS' -g -Wall -Werror -O2'
COMPILER='g++'
else
- CXXFLAGS='-g -O2'
- LDFLAGS='-g -O2'
+ CXXFLAGS=$CXXFLAGS' -g -O2'
+ LDFLAGS=$LDFLAGS' -g -O2'
COMPILER='clang++'
fi