From ac46e350e174e78a55a348eda775665ae0eb3277 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Mar 2012 12:07:28 +0100 Subject: update gcc, glibc and fix build breakage --- package/busybox/patches/009-extra-flags.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/busybox/patches/009-extra-flags.patch (limited to 'package/busybox/patches') 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) -- cgit v1.2.3