Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 966 - (show annotations) (download)
Tue Dec 29 20:22:02 2009 UTC (14 years, 4 months ago) by niro
File size: 963 byte(s)
re-diffed

1 diff -Naur busybox-1.15.3/Makefile.flags busybox-1.15.3-magellan/Makefile.flags
2 --- busybox-1.15.3/Makefile.flags 2009-12-12 02:45:08.000000000 +0100
3 +++ busybox-1.15.3-magellan/Makefile.flags 2009-12-29 21:38:09.000000000 +0100
4 @@ -31,7 +31,7 @@
5 # still possible to build bbox without warnings.
6
7 ifeq ($(CONFIG_WERROR),y)
8 -CFLAGS += $(call cc-option,-Werror,)
9 +CFLAGS += $(call cc-option,,)
10 ## TODO:
11 ## gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) is a PITA:
12 ## const char *ptr; ... off_t v = *(off_t*)ptr; -> BOOM
13 @@ -50,7 +50,7 @@
14 # of branch probabilities (hopefully makes bloatcheck more stable):
15 CFLAGS += $(call cc-option,-fno-guess-branch-probability,)
16 CFLAGS += $(call cc-option,-funsigned-char -static-libgcc,)
17 -CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1,)
18 +CFLAGS += $(call cc-option,,)
19
20 # FIXME: These warnings are at least partially to be concerned about and should
21 # be fixed..