aboutsummaryrefslogtreecommitdiffstats
path: root/com32/MCONFIG
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-07-01 14:15:38 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-01 14:15:38 -0700
commit31243f9b165c6a93175688067dd1a68ad6174613 (patch)
treef733012a8293ca2d5b884413bd19b145416ae061 /com32/MCONFIG
parent01dc2ad8336cc9dbd76f1e74cd4fec2e45334797 (diff)
downloadsyslinux-31243f9b165c6a93175688067dd1a68ad6174613.tar.gz
syslinux-31243f9b165c6a93175688067dd1a68ad6174613.tar.xz
syslinux-31243f9b165c6a93175688067dd1a68ad6174613.zip
MCONFIG: .lnx files are for testing, don't do _FORTIFY_SOURCE
.lnx files are strictly a testing vehicle. It makes absolutely no sense to enforce the often rather arbitrary rules of _FORTIFY_SOURCE on those, so override the default _FORTIFY_SOURCE setting. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/MCONFIG')
-rw-r--r--com32/MCONFIG3
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/MCONFIG b/com32/MCONFIG
index 0b774d4f..8165612c 100644
--- a/com32/MCONFIG
+++ b/com32/MCONFIG
@@ -58,7 +58,8 @@ COM32LD = $(com32)/lib/com32.ld
LDFLAGS = -m elf_i386 --emit-relocs -T $(COM32LD)
LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc)
-LNXCFLAGS = -I$(com32)/libutil/include $(GCCWARN) -O -g -D_GNU_SOURCE
+LNXCFLAGS = -I$(com32)/libutil/include $(GCCWARN) -O -g \
+ -D_GNU_SOURCE -D_FORTIFY_SOURCE=0
LNXSFLAGS = -g
LNXLDFLAGS = -g