toolchaini/gcc: fix libstdc++ dual abi model
authorIvan Maslov <avenger_msoft@mail.ru>
Sat, 29 Jan 2022 20:11:30 +0000 (23:11 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 7 Jul 2022 11:55:32 +0000 (13:55 +0200)
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@mail.ru>
[ reword commit description and title ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
toolchain/gcc/common.mk

index 8fa9459f50564f65ad3ca4a0e3d7380455c8b636..926418f4a774376ed8c533f3d05a817d45cca3df 100644 (file)
@@ -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