From e3a21eb9f87988f26d0871ad050f05f8d88ddcc7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 12 Jan 2012 10:15:20 +0000 Subject: [PATCH] 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 --- 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 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) \