aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-02 00:47:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-02 00:47:27 +0000
commitc639f0199947f22e46772b3087274c21770426b1 (patch)
tree5d22361558dffb4c2e01b2deb35eb02e3a45dc46
parentaea2ea2dea65c693862ec7d7dba93c43c61cd8c0 (diff)
downloadupstream-c639f0199947f22e46772b3087274c21770426b1.tar.gz
upstream-c639f0199947f22e46772b3087274c21770426b1.tar.bz2
upstream-c639f0199947f22e46772b3087274c21770426b1.zip
gcc: fix build with cloog/ppl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18266 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/gcc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 77243c5fa4..9d865e94d3 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -90,6 +90,7 @@ GCC_CONFIGURE:= \
--disable-libmudflap \
--disable-multilib \
--disable-nls \
+ $(if $(CONFIG_GCC_VERSION_4_4),--with-host-libstdcxx=-lstdc++) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \
$(if $(CONFIG_mips64)$(CONFIG_mips64el),--with-arch=mips64 --with-abi=64) \