aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libutil
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-10 22:52:36 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-10 22:52:36 -0800
commitd3f3133b05c3b60c9bcd4463c7d42ea3cd981a57 (patch)
treed2127608ea5b70174ddd7a35b3193c41bfb42395 /com32/libutil
parent830cd01e2135a4e6e9ef06d1680fe9cd5a066e74 (diff)
downloadsyslinux-d3f3133b05c3b60c9bcd4463c7d42ea3cd981a57.tar.gz
syslinux-d3f3133b05c3b60c9bcd4463c7d42ea3cd981a57.tar.xz
syslinux-d3f3133b05c3b60c9bcd4463c7d42ea3cd981a57.zip
com32/*: move _GNU_SOURCE definitions into Makefiles
We need _GNU_SOURCE when compiling for Linux in enough places. Just move it to the LNXCFLAGS definition in the Makefiles.
Diffstat (limited to 'com32/libutil')
-rw-r--r--com32/libutil/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/libutil/Makefile b/com32/libutil/Makefile
index 643ad764..426c3335 100644
--- a/com32/libutil/Makefile
+++ b/com32/libutil/Makefile
@@ -45,7 +45,7 @@ RANLIB = ranlib
CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include
SFLAGS = $(M32) -D__COM32__ -march=i386
LDFLAGS = -T ../lib/com32.ld
-LNXCFLAGS = -I./include -W -Wall -O -g
+LNXCFLAGS = -I./include -W -Wall -O -g -D_GNU_SOURCE
LNXSFLAGS = -g
LNXLDFLAGS = -g
OBJCOPY = objcopy