X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=toolchain%2Fgcc%2FMakefile;fp=toolchain%2Fgcc%2FMakefile;h=9d865e94d3e439e65972811c4b362e0db919690f;hp=77243c5fa4bd2c45853a5bee0278b2a5062ed19b;hb=71ebb81a395e6eb7d5e505db6daad975d6192553;hpb=b0c4dfea7a3db1a9be4d5cd04a2c116ad5a2cd52 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) \