aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-19 16:05:36 +0200
committerKim Alvefur <zash@zash.se>2016-08-19 16:05:36 +0200
commitbfb6b3b7e0e165cfef099c71001579dee6592533 (patch)
tree9e5d04dd3f02db6413754645aae0668b2ef69d92
parentcf3f198a225bab2073ef76195ab41fcea7fd6b82 (diff)
downloadprosody-bfb6b3b7e0e165cfef099c71001579dee6592533.tar.gz
prosody-bfb6b3b7e0e165cfef099c71001579dee6592533.zip
configure: Do the same to CFLAGS and LDFLAGS in linux preset as for debian
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index d76180a3..48ac5fa4 100755
--- a/configure
+++ b/configure
@@ -128,8 +128,7 @@ do
LUA_INCDIR_SET=yes
LUA_LIBDIR=/usr/local/lib
LUA_LIBDIR_SET=yes
- CFLAGS="-Wall -fPIC -D_GNU_SOURCE"
- LDFLAGS="-shared"
+ CFLAGS="$CFLAGS -ggdb -D_GNU_SOURCE"
fi
if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]; then
LUA_INCDIR="/usr/local/include/lua51"