openwrt/toolchain/gcc
Rosen Penev 01e4274c21 toolchain/libstdcpp: disable dual ABI and default to new
GCC 5.1 changed the std::string ABI in order to properly support C++11.
For compatibility with libraries compiled with the older ABI, that is,
linking between old-abi.so and new-abi.bin, both ABIs are enabled. In
terms of OpenWrt, all packages are compiled with the same toolchain,
which means these issues do not need to be handled.

Most importantly, this results in a significant size reduction of
libstdpp:

Before:

450794 bytes

After:

327752 bytes

Tested with all OpenWrt packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-26 15:23:06 -10:00
..
files do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in 2009-11-19 17:23:31 +00:00
final toolchain: gcc: enable sanitizers for glibc toolchain 2019-10-24 11:40:00 +00:00
initial toolchain/gcc: parallelize make install 2017-02-09 14:49:34 +01:00
minimal toolchain: skip gcc/minimal for musl 2016-07-07 15:13:40 +02:00
patches toolchain: gcc: Remove support for GCC 5 2020-12-16 22:11:16 +01:00
Config.in toolchain: gcc: Remove support for GCC 5 2020-12-16 22:11:16 +01:00
Config.version toolchain: gcc: Remove support for GCC 5 2020-12-16 22:11:16 +01:00
common.mk toolchain/libstdcpp: disable dual ABI and default to new 2021-01-26 15:23:06 -10:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00