diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-29 01:37:15 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-29 01:37:15 +0200 |
commit | 38ce1b2b86c0ce3d46051aec2ffadf02a740e0e0 (patch) | |
tree | 0e5481c517a247f9605c93bcc0dfc08e818d70a1 /configure | |
parent | 72f5f1529ccee122ba59710efec30c07eb27f209 (diff) | |
download | prosody-38ce1b2b86c0ce3d46051aec2ffadf02a740e0e0.tar.gz prosody-38ce1b2b86c0ce3d46051aec2ffadf02a740e0e0.zip |
configure: Add _GNU_SOURCE flag to linux and debian presets to enable Linux fallocate()
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -96,6 +96,7 @@ do LUA_SUFFIX_SET=yes LUA_INCDIR=/usr/include/lua5.1; LUA_INCDIR_SET=yes + CFLAGS="$CFLAGS -D_GNU_SOURCE" fi if [ "$OSTYPE" = "macosx" ] then LUA_INCDIR=/usr/local/include; @@ -110,6 +111,7 @@ do LUA_LIBDIR=/usr/local/lib LUA_LIBDIR_SET=yes CFLAGS="-Wall -fPIC" + CFLAGS="$CFLAGS -D_GNU_SOURCE" LDFLAGS="-shared" fi if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ] |