]>
Commit | Line | Data |
---|---|---|
5e993f12 | 1 | diff -ur syslinux-3.36.old/com32/libutil/Makefile syslinux-3.36/com32/libutil/Makefile |
2 | --- syslinux-3.36.old/com32/libutil/Makefile 2007-02-10 20:47:08.000000000 +0000 | |
3 | +++ syslinux-3.36/com32/libutil/Makefile 2007-02-11 07:27:16.000000000 +0000 | |
4 | @@ -32,7 +32,7 @@ | |
5 | gcc_ok = $(shell if gcc $(1) -c -x c /dev/null -o /dev/null 2>/dev/null; \ | |
6 | then echo $(1); else echo $(2); fi) | |
7 | ||
8 | -M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) | |
9 | +M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) $(call gcc_ok,-nopie,) $(call gcc_ok,-no-pie,) | |
10 | ||
11 | CC = gcc | |
12 | LD = ld -m elf_i386 | |
13 | diff -ur syslinux-3.36.old/dos/Makefile syslinux-3.36/dos/Makefile | |
14 | --- syslinux-3.36.old/dos/Makefile 2007-02-10 20:47:08.000000000 +0000 | |
15 | +++ syslinux-3.36/dos/Makefile 2007-02-11 07:30:23.000000000 +0000 | |
16 | @@ -1,7 +1,10 @@ | |
17 | gcc_ok = $(shell if gcc $(1) -c -x c /dev/null -o /dev/null 2>/dev/null; \ | |
18 | then echo $(1); else echo $(2); fi) | |
19 | ||
20 | -M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-ffreestanding,) $(call gcc_ok,-fno-stack-protector,) | |
21 | +M32 := $(call gcc_ok,-m32,) \ | |
22 | + $(call gcc_ok,-ffreestanding,) \ | |
23 | + $(call gcc_ok,-fno-stack-protector,) \ | |
24 | + $(call gcc_ok,-nopie,) $(call gcc_ok,-no-pie,) | |
25 | ||
26 | CC = gcc | |
27 | LD = ld -m elf_i386 |