aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-19 16:03:10 +0200
committerKim Alvefur <zash@zash.se>2016-08-19 16:03:10 +0200
commitcf3f198a225bab2073ef76195ab41fcea7fd6b82 (patch)
treedf9cf325b6b5f71892c7febb2ceead6ceef7427f
parent22b52c77ce80ba551ce09139ea7f3989d3631296 (diff)
downloadprosody-cf3f198a225bab2073ef76195ab41fcea7fd6b82.tar.gz
prosody-cf3f198a225bab2073ef76195ab41fcea7fd6b82.zip
configure: Move -ggdb flag here from util-src/Make
-rwxr-xr-xconfigure2
-rw-r--r--util-src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6d3cd84f..d76180a3 100755
--- a/configure
+++ b/configure
@@ -113,7 +113,7 @@ do
RUNWITH="lua$LUA_SUFFIX"
LUA_INCDIR="/usr/include/lua$LUA_SUFFIX"
LUA_INCDIR_SET=yes
- CFLAGS="$CFLAGS -D_GNU_SOURCE"
+ CFLAGS="$CFLAGS -ggdb -D_GNU_SOURCE"
fi
if [ "$OSTYPE" = "macosx" ]; then
LUA_INCDIR=/usr/local/include;
diff --git a/util-src/Makefile b/util-src/Makefile
index 3a4f1ac8..f18d5a80 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -1,7 +1,7 @@
include ../config.unix
-CFLAGS+=-ggdb -I$(LUA_INCDIR)
+CFLAGS+=-I$(LUA_INCDIR)
INSTALL_DATA=install -m644
TARGET?=../util/