Magellan Linux

Contents of /trunk/busybox/patches/busybox-1.8.2-flags.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448 - (show annotations) (download)
Tue Jan 22 22:52:35 2008 UTC (16 years, 3 months ago) by niro
File size: 1209 byte(s)
-patches for busybox-1.8.2-r1

1 --- busybox-1.8.2/Makefile.flags 2007-11-10 02:40:54.000000000 +0100
2 +++ busybox-1.8.2-magellan/Makefile.flags 2008-01-15 23:06:20.000000000 +0100
3 @@ -28,7 +28,7 @@
4 # in warnings pretty soon.
5
6 ifeq ($(CONFIG_WERROR),y)
7 -CFLAGS += $(call cc-option,-Werror,)
8 +CFLAGS += $(call cc-option,,)
9 else
10 # for development, warn a little bit about unused results..
11 CPPFLAGS += -D_FORTIFY_SOURCE=2
12 @@ -41,12 +41,12 @@
13 CFLAGS += $(call cc-option,-Wmissing-prototypes -Wmissing-declarations,)
14 endif
15
16 -CFLAGS += $(call cc-option,-Os -fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections,)
17 +CFLAGS += $(call cc-option, -fno-builtin-strlen -finline-limit=0 -ffunction-sections -fdata-sections,)
18 # -fno-guess-branch-probability: prohibit pseudo-random guessing
19 # of branch probabilities (hopefully makes bloatcheck more stable):
20 CFLAGS += $(call cc-option,-fno-guess-branch-probability,)
21 CFLAGS += $(call cc-option,-funsigned-char -static-libgcc,)
22 -CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1,)
23 +CFLAGS += $(call cc-option,,)
24
25 # FIXME: These warnings are at least partially to be concerned about and should
26 # be fixed..