summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-06 11:17:41 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-06 11:17:41 +0000
commit35ba8b6c68d8eba32d6d13bfae23d1acbb8ccf47 (patch)
tree1b11190c65104abc98a8bf6ad327de80d96956a0 /package
parentb11b5fb9e5db8ef272826061ac70c20621d8ad3c (diff)
package/busybox: fix sed issue with gcc-4.5.0 (closes #7566)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22074 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/busybox/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index aa51b17c8d..128a0dea18 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -60,6 +60,10 @@ ifdef CONFIG_GCC_VERSION_LLVM
TARGET_CFLAGS += -fnested-functions
endif
+ifdef CONFIG_GCC_VERSION_4_5_0
+ TARGET_CFLAGS += -fno-tree-pta
+endif
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \