aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-01 22:27:11 +0100
committerKim Alvefur <zash@zash.se>2017-03-01 22:27:11 +0100
commitd205c783278eea95143aa95443803c16882c3f5b (patch)
tree9fcc5ce42e89c795a0f5012b1a84aea1c0123973 /configure
parentf637fde31f2a8c06819001b6d2b1766a51dd8cb2 (diff)
downloadprosody-d205c783278eea95143aa95443803c16882c3f5b.tar.gz
prosody-d205c783278eea95143aa95443803c16882c3f5b.zip
util.pposix, configure: Move _GNU_SOURCE macro into source files
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 974823c3..126fee3d 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 -ggdb -D_GNU_SOURCE"
+ CFLAGS="$CFLAGS -ggdb"
fi
if [ "$OSTYPE" = "macosx" ]; then
LUA_INCDIR=/usr/local/include;
@@ -128,7 +128,7 @@ do
LUA_INCDIR_SET=yes
LUA_LIBDIR=/usr/local/lib
LUA_LIBDIR_SET=yes
- CFLAGS="$CFLAGS -ggdb -D_GNU_SOURCE"
+ CFLAGS="$CFLAGS -ggdb"
fi
if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]; then
LUA_INCDIR="/usr/local/include/lua51"
@@ -167,7 +167,7 @@ do
LUA_INCDIR="$LUA_CF"
LUA_INCDIR_SET=yes
fi
- CFLAGS="$CFLAGS -D_GNU_SOURCE"
+ CFLAGS="$CFLAGS"
fi
;;
--libdir=*)