Fix -fno-stack-protector per bug report from Gilles Espinasse syslinux-3.36-pre9
authorH. Peter Anvin <hpa@zytor.com>
Fri, 9 Feb 2007 00:02:41 +0000 (16:02 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 9 Feb 2007 00:02:41 +0000 (16:02 -0800)
com32/libutil/Makefile

index 8976ebd..3656fb3 100644 (file)
@@ -32,7 +32,7 @@
 gcc_ok   = $(shell if gcc $(1) -c -x c /dev/null -o /dev/null 2>/dev/null; \
                   then echo $(1); else echo $(2); fi)
 
-M32     := $(call gcc_ok,-m32,) $(call gcc_ok,-fno_stack_protector,)
+M32     := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)
 
 CC         = gcc
 LD         = ld -m elf_i386