From: Felix Fietkau Date: Thu, 12 Jan 2012 10:15:20 +0000 (+0000) Subject: gcc: always explicitly link against libstdc++, fixes build errors on some hosts that... X-Git-Tag: reboot~15187 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=e3a21eb9f87988f26d0871ad050f05f8d88ddcc7;p=openwrt%2Fopenwrt.git gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587) SVN-Revision: 29721 --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 75ad8af6ff..8b74533350 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -107,7 +107,7 @@ GCC_CONFIGURE:= \ --disable-multilib \ --disable-nls \ $(GRAPHITE_CONFIGURE) \ - $(if $(CONFIG_GCC_USE_GRAPHITE),--with-host-libstdcxx=-lstdc++) \ + --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) \