From 063918b58fcb94b74d2cf80e95ce03950a1ec962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=85=E9=9D=88=E8=AA=9E?= Date: Fri, 21 Jul 2023 09:05:07 +0800 Subject: [PATCH] toolchaini/gcc: fix libstdc++ dual abi model (#94) 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. https://github.com/openwrt/openwrt/commit/c0b4303d2e2f4a9e1d4684fd584e6b6548666f0f --- 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 55fad1fcc4..76e5a98e8b 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -118,7 +118,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