[syslinux:master] MCONFIG: .lnx files are for testing, don't do _FORTIFY_SOURCE
syslinux-bot for H. Peter Anvin
hpa at linux.intel.com
Thu Jul 1 14:21:15 PDT 2010
Commit-ID: 31243f9b165c6a93175688067dd1a68ad6174613
Gitweb: http://syslinux.zytor.com/commit/31243f9b165c6a93175688067dd1a68ad6174613
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Thu, 1 Jul 2010 14:15:38 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Thu, 1 Jul 2010 14:15:38 -0700
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 at linux.intel.com>
---
com32/MCONFIG | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/com32/MCONFIG b/com32/MCONFIG
index 0b774d4..8165612 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
More information about the Syslinux-commits
mailing list