aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-28 19:52:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-28 19:52:09 +0000
commit8df096ed3e5f09cc3e6fce803e1f58347d21a8b2 (patch)
treea8453498a77c6b4229750aa25f04259f58da69e6 /toolchain/gcc/Makefile
parent705280153b3bc749c9a58e5ca4ce6f15e438734a (diff)
downloadupstream-8df096ed3e5f09cc3e6fce803e1f58347d21a8b2.tar.gz
upstream-8df096ed3e5f09cc3e6fce803e1f58347d21a8b2.tar.bz2
upstream-8df096ed3e5f09cc3e6fce803e1f58347d21a8b2.zip
fix gcc 4.2.0 compile for ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7761 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index b5502bcefa..6d46f98994 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -119,6 +119,7 @@ define Build/Prepare
$(SED) 's,\(version_string.. = "[0-9\.]*\).*\(";\),\1 (OpenWrt-2.0)\2,' $(PKG_BUILD_DIR)/gcc/version.c
$(SED) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:https://dev.openwrt.org/>\2,' $(PKG_BUILD_DIR)/gcc/version.c
(cd $(PKG_BUILD_DIR)/libstdc++-v3; autoconf;);
+ $(SED) 's,gcc_no_link=yes,gcc_no_link=no,' $(PKG_BUILD_DIR)/libstdc++-v3/configure
endef
define Build/Configure