1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
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
final toolchain: gcc: enable sanitizers for glibc toolchain 2019-10-24 11:40:00 +00:00
initial
minimal
patches 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
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
exclude-testsuite