diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-01-20 20:51:45 -0800 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-01-26 15:23:06 -1000 |
commit | 01e4274c2117863603363c22f403af159c71cbfd (patch) | |
tree | 95f05b104865b560871130bdd59125e299d70264 /Makefile | |
parent | 7b63d89b5289b2c08d5542f60a1c71a29d45c51f (diff) | |
download | upstream-01e4274c2117863603363c22f403af159c71cbfd.tar.gz upstream-01e4274c2117863603363c22f403af159c71cbfd.tar.bz2 upstream-01e4274c2117863603363c22f403af159c71cbfd.zip |
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions