[openwrt/openwrt] toolchaini/gcc: fix libstdc++ dual abi model

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 15 23:46:20 PST 2023


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/c0b4303d2e2f4a9e1d4684fd584e6b6548666f0f

commit c0b4303d2e2f4a9e1d4684fd584e6b6548666f0f
Author: Ivan Maslov <avenger_msoft at mail.ru>
AuthorDate: Sat Jan 29 23:11:30 2022 +0300

    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 <avenger_msoft at mail.ru>
    [ reword commit description and title ]
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
    (cherry picked from commit 3c06a344e9c7c03c49c9153342e68a5390651323)
---
 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 bef4fa37f8..fb280e942f 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -115,7 +115,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




More information about the lede-commits mailing list