mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
uClibc haengt...
Viele Rootfiles erstellt. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@327 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
23
src/patches/syslinux-3.11-nopie.patch
Normal file
23
src/patches/syslinux-3.11-nopie.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
borrowed from gentoo
|
||||
--- syslinux/com32/libutil/Makefile
|
||||
+++ syslinux/com32/libutil/Makefile
|
||||
@@ -40,7 +40,7 @@
|
||||
AR = ar
|
||||
NASM = nasm
|
||||
RANLIB = ranlib
|
||||
-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,)
|
||||
+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,)
|
||||
SFLAGS = $(M32) -D__COM32__ -march=i386
|
||||
LDFLAGS = -T ../lib/com32.ld
|
||||
LNXCFLAGS = -I./include -W -Wall -fno-stack-protector -O -g
|
||||
--- syslinux/dos/Makefile
|
||||
+++ syslinux/dos/Makefile
|
||||
@@ -3,7 +3,7 @@
|
||||
OBJCOPY = objcopy
|
||||
OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
|
||||
INCLUDES = -include code16.h -I. -I.. -I../libfat
|
||||
-CFLAGS = -W -Wall -fno-stack-protector -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
|
||||
+CFLAGS = -W -Wall -nopie -fno-stack-protector -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
|
||||
LDFLAGS = -T com16.ld
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
11
src/patches/uClibc-gen_wctype-segfault.patch
Normal file
11
src/patches/uClibc-gen_wctype-segfault.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- Makefile.bak 2006-10-24 00:56:23.000000000 +0000
|
||||
+++ Makefile 2006-10-23 19:57:49.000000000 +0000
|
||||
@@ -32,7 +32,7 @@
|
||||
./gen_wc8bit `cat codesets.txt`
|
||||
|
||||
gen_wctype: gen_wctype.c
|
||||
- $(HOSTCC) $(HOSTCFLAGS) $(NATIVE_LDFLAGS) -D__UCLIBC_GEN_LOCALE $^ -o $@
|
||||
+ $(HOSTCC) $(HOSTCFLAGS) $(NATIVE_LDFLAGS) -O1 -D__UCLIBC_GEN_LOCALE $^ -o $@
|
||||
|
||||
# Warning! Beware tr_TR toupper/tolower exceptions!
|
||||
wctables.h: gen_wctype
|
||||
Reference in New Issue
Block a user