busybox: remove the -static-libgcc flag, saves a few kb
SVN-Revision: 25802
This commit is contained in:
parent
23e18c9037
commit
fa74dadda8
1 changed files with 11 additions and 0 deletions
11
package/busybox/patches/150-no_static_libgcc.patch
Normal file
11
package/busybox/patches/150-no_static_libgcc.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/Makefile.flags
|
||||
+++ b/Makefile.flags
|
||||
@@ -50,7 +50,7 @@ CFLAGS += $(call cc-option,-fno-builtin-
|
||||
# -fno-guess-branch-probability: prohibit pseudo-random guessing
|
||||
# of branch probabilities (hopefully makes bloatcheck more stable):
|
||||
CFLAGS += $(call cc-option,-fno-guess-branch-probability,)
|
||||
-CFLAGS += $(call cc-option,-funsigned-char -static-libgcc,)
|
||||
+CFLAGS += $(call cc-option,-funsigned-char,)
|
||||
CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1,)
|
||||
|
||||
# FIXME: These warnings are at least partially to be concerned about and should
|
Loading…
Reference in a new issue