aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-07 11:28:42 +0000
committerOmar Polo <op@omarpolo.com>2021-02-07 11:28:42 +0000
commit809c4bd0f82ad417782895fef5ede4c7bf7db23e (patch)
tree855947b9953c01b3c31ae3d3037c2d3cf15bf7a7 /configure
parenteef0492e356e53f264843f49ee5050bc56dee97d (diff)
keep original CFLAGS
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4c7b5a3..48a4a11 100755
--- a/configure
+++ b/configure
@@ -67,7 +67,7 @@ INSTALL="install"
# try to auto detect CFLAGS and LDFLAGS
if which pkg-config 2>/dev/null 1>&2; then
if pkg-config libtls; then
- CFLAGS="$(pkg-config --cflags libtls)"
+ CFLAGS="${CFLAGS} $(pkg-config --cflags libtls)"
LDFLAGS="$(pkg-config --libs libtls)"
fi
if pkg-config openssl; then