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@mail.ru>
[ reword commit description and title ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Ivan Maslov 2022-01-29 23:11:30 +03:00 committed by Christian Marangi
parent 9b00e97956
commit 3c06a344e9
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View 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