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
commit5cc3f59002dcfd9772c83a19dc5ade1bf34101df (patch)
treedf9cf325b6b5f71892c7febb2ceead6ceef7427f
parent5e8e7dacdd6cac0f5a1d00e389b6616807d1c518 (diff)
downloadprosody-5cc3f59002dcfd9772c83a19dc5ade1bf34101df.tar.gz
prosody-5cc3f59002dcfd9772c83a19dc5ade1bf34101df.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/