Software /
code /
prosody
Diff
configure @ 7931:b619b85e01aa
util.pposix, configure: Move _GNU_SOURCE macro into source files
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Mar 2017 22:27:11 +0100 |
parent | 7749:a43a9ffd0579 |
child | 7935:96fa5ef5d613 |
line wrap: on
line diff
--- a/configure Wed Mar 01 17:48:15 2017 +0100 +++ b/configure Wed Mar 01 22:27:11 2017 +0100 @@ -113,7 +113,7 @@ 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 @@ 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 @@ LUA_INCDIR="$LUA_CF" LUA_INCDIR_SET=yes fi - CFLAGS="$CFLAGS -D_GNU_SOURCE" + CFLAGS="$CFLAGS" fi ;; --libdir=*)