From: nbd 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-Url: http://git.rohieb.name/openwrt.git/commitdiff_plain/056e3e42e00317fa5abb9d0e7aaf1bf5ef22a5e7?ds=sidebyside gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29721 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 75ad8af6f..8b7453335 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) \