From: Ivan Maslov Date: Sat, 29 Jan 2022 20:11:30 +0000 (+0300) Subject: toolchaini/gcc: fix libstdc++ dual abi model X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3c06a344e9c7c03c49c9153342e68a5390651323;p=openwrt%2Fstaging%2Frmilecki.git toolchaini/gcc: fix libstdc++ dual abi model libstdcxx-dual-abi needs to be enabled to actually support C++11 ABI. Enable the config flag to also permit support of .NET 6 development on OpenWrt. Signed-off-by: Ivan Maslov [ reword commit description and title ] Signed-off-by: Christian Marangi --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 8fa9459f505..926418f4a77 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -119,7 +119,7 @@ GCC_CONFIGURE:= \ --disable-decimal-float \ --with-diagnostics-color=auto-if-env \ --enable-__cxa_atexit \ - --disable-libstdcxx-dual-abi \ + --enable-libstdcxx-dual-abi \ --with-default-libstdcxx-abi=new ifneq ($(CONFIG_mips)$(CONFIG_mipsel),) GCC_CONFIGURE += --with-mips-plt