From 056e3e42e00317fa5abb9d0e7aaf1bf5ef22a5e7 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 12 Jan 2012 10:15:20 +0000 Subject: [PATCH 1/1] 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 --- toolchain/gcc/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- 2.20.1