aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-01 05:40:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-01 05:40:57 +0000
commit9cb0783a7f6612fa80d6a927654450fe9b951385 (patch)
tree211a69a7afd8c4acb02c68cc05098dfbf112693a
parentc2f05b9877f18cd404f1ec7a29cf349007e363ea (diff)
downloadmaster-187ad058-9cb0783a7f6612fa80d6a927654450fe9b951385.tar.gz
master-187ad058-9cb0783a7f6612fa80d6a927654450fe9b951385.tar.bz2
master-187ad058-9cb0783a7f6612fa80d6a927654450fe9b951385.zip
busybox: remove the -static-libgcc flag, saves a few kb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25802 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/busybox/patches/150-no_static_libgcc.patch11
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