From 35ba8b6c68d8eba32d6d13bfae23d1acbb8ccf47 Mon Sep 17 00:00:00 2001 From: acoul Date: Tue, 6 Jul 2010 11:17:41 +0000 Subject: 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 --- package/busybox/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package') 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)" \ -- cgit v1.2.3