diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-01 05:40:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-01 05:40:57 +0000 |
commit | fa74dadda82dd4c9a348e21727575f526d6fc961 (patch) | |
tree | 1e6d5477f94035a81233ad56fc1807cf2d52b919 /package | |
parent | 23e18c90377138ad5766730c8ddb425184bef648 (diff) | |
download | upstream-fa74dadda82dd4c9a348e21727575f526d6fc961.tar.gz upstream-fa74dadda82dd4c9a348e21727575f526d6fc961.tar.bz2 upstream-fa74dadda82dd4c9a348e21727575f526d6fc961.zip |
busybox: remove the -static-libgcc flag, saves a few kb
SVN-Revision: 25802
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/patches/150-no_static_libgcc.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/150-no_static_libgcc.patch b/package/busybox/patches/150-no_static_libgcc.patch new file mode 100644 index 0000000000..fde6fbb869 --- /dev/null +++ b/package/busybox/patches/150-no_static_libgcc.patch @@ -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 |