do not use the wrapper scripts for exportable toolchains internally. on some systems...
[openwrt/staging/chunkeey.git] / toolchain / gcc / Makefile
index 77243c5fa4bd2c45853a5bee0278b2a5062ed19b..ea103c45392cabd7c2c5e610cea24ae14cedb562 100644 (file)
@@ -90,6 +90,7 @@ GCC_CONFIGURE:= \
                --disable-libmudflap \
                --disable-multilib \
                --disable-nls \
+               $(if $(CONFIG_GCC_USE_GRAPHITE),--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) \