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
commit391804712ced65c85a57038d2b8bd9bb6ded631e (patch)
tree9e5d04dd3f02db6413754645aae0668b2ef69d92
parent5cc3f59002dcfd9772c83a19dc5ade1bf34101df (diff)
downloadprosody-391804712ced65c85a57038d2b8bd9bb6ded631e.tar.gz
prosody-391804712ced65c85a57038d2b8bd9bb6ded631e.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"