summaryrefslogtreecommitdiff
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
commitac46e350e174e78a55a348eda775665ae0eb3277 (patch)
tree5574ba5e9a7108554683edb25bcd4b99599b8fa7 /package/busybox/patches
parent89aa2adc650176b493075e1d8e64f1b6cc635d90 (diff)
update gcc, glibc and fix build breakage
Diffstat (limited to 'package/busybox/patches')
-rw-r--r--package/busybox/patches/009-extra-flags.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/busybox/patches/009-extra-flags.patch b/package/busybox/patches/009-extra-flags.patch
new file mode 100644
index 000000000..f440d4380
--- /dev/null
+++ b/package/busybox/patches/009-extra-flags.patch
@@ -0,0 +1,17 @@
+diff -Nur busybox-1.19.4.orig/Makefile busybox-1.19.4/Makefile
+--- busybox-1.19.4.orig/Makefile 2012-02-04 20:34:24.000000000 +0100
++++ busybox-1.19.4/Makefile 2012-03-22 19:17:49.099007985 +0100
+@@ -318,10 +318,10 @@
+ CFLAGS := $(CFLAGS)
+ # Added only to final link stage of busybox binary
+ CFLAGS_busybox := $(CFLAGS_busybox)
+-CPPFLAGS := $(CPPFLAGS)
++CPPFLAGS := $(CPPFLAGS) $(EXTRA_CPPFLAGS)
+ AFLAGS := $(AFLAGS)
+-LDFLAGS := $(LDFLAGS)
+-LDLIBS :=
++LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
++LDLIBS := tirpc
+
+ # Read KERNELRELEASE from .kernelrelease (if it exists)
+ KERNELRELEASE = $(shell cat .kernelrelease 2> /dev/null)