]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/syslinux-3.11-nopie.patch
Pakfire laedt die Listen jetzt besser und hat eine veraenderte Oberflaeche bekommen.
[ipfire-2.x.git] / src / patches / syslinux-3.11-nopie.patch
1 borrowed from gentoo
2 --- syslinux/com32/libutil/Makefile
3 +++ syslinux/com32/libutil/Makefile
4 @@ -40,7 +40,7 @@
5 AR = ar
6 NASM = nasm
7 RANLIB = ranlib
8 -CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include $(call gcc_ok,-fno-stack-protector,)
9 +CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include $(call gcc_ok,-fno-stack-protector,) $(call gcc_ok,-nopie,)
10 SFLAGS = $(M32) -D__COM32__ -march=i386
11 LDFLAGS = -T ../lib/com32.ld
12 LNXCFLAGS = -I./include -W -Wall -fno-stack-protector -O -g
13 --- syslinux/dos/Makefile
14 +++ syslinux/dos/Makefile
15 @@ -3,7 +3,7 @@
16 OBJCOPY = objcopy
17 OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
18 INCLUDES = -include code16.h -I. -I.. -I../libfat
19 -CFLAGS = -W -Wall -fno-stack-protector -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
20 +CFLAGS = -W -Wall -nopie -fno-stack-protector -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
21 LDFLAGS = -T com16.ld
22 AR = ar
23 RANLIB = ranlib