summaryrefslogtreecommitdiff
path: root/package/busybox/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/patch-Makefile')
-rw-r--r--package/busybox/patches/patch-Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/patch-Makefile b/package/busybox/patches/patch-Makefile
new file mode 100644
index 000000000..45b8f75a9
--- /dev/null
+++ b/package/busybox/patches/patch-Makefile
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- busybox-1.13.4.orig/Makefile 2009-04-15 02:11:01.000000000 +0200
++++ busybox-1.13.4/Makefile 2009-05-06 20:30:25.953125000 +0200
+@@ -277,7 +277,7 @@ HOSTCXXFLAGS :=
+ # We need some generic definitions
+ include $(srctree)/scripts/Kbuild.include
+
+-HOSTCFLAGS += $(call hostcc-option,-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer,)
++HOSTCFLAGS += $(call hostcc-option,-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DHOSTCOMPILE=1,)
+ HOSTCXXFLAGS += -O2
+
+ # For maximum performance (+ possibly random breakage, uncomment