X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/94780e82b867e9ff2400eb9c7b7d7f82bad693f2..c07f9537abf2f63a4ce980b64367c4a49a839ccd:/toolchain/gcc/Makefile diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 77243c5fa..ea103c453 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -90,6 +90,7 @@ GCC_CONFIGURE:= \ --disable-libmudflap \ --disable-multilib \ --disable-nls \ + $(if $(CONFIG_GCC_USE_GRAPHITE),--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) \