summaryrefslogtreecommitdiff
path: root/configs/linux
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-08-24 18:06:37 +0000
committerIan Romanick <idr@us.ibm.com>2006-08-24 18:06:37 +0000
commitce9767f863e7788d4ab0099404abce72399f0b2c (patch)
tree2a81681e418fc2ef5ae4fafa56b54bf2a4e02eba /configs/linux
parent39f222a4217eb574fbd18ecb7786ffbd4228d03f (diff)
Make sure that _GNU_SOURCE is enabled in the linux configs that set
HAVE_POSIX_MEMALIGN. This eliminates a compiler warning. Also, clean up some crufty linux-sparc* configs.
Diffstat (limited to 'configs/linux')
-rw-r--r--configs/linux3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/linux b/configs/linux
index 6736f14e0d..0d455ff46a 100644
--- a/configs/linux
+++ b/configs/linux
@@ -17,7 +17,8 @@ PIC_FLAGS = -fPIC
ARCH_FLAGS ?=
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
- -D_BSD_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
+ -D_BSD_SOURCE -D_GNU_SOURCE \
+ -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
X11_INCLUDES = -I/usr/X11R6/include