uClibc++: Update to 0.2.5
authorRosen Penev <rosenp@gmail.com>
Sun, 7 Apr 2019 06:37:56 +0000 (23:37 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 May 2019 21:10:10 +0000 (23:10 +0200)
commit0b2638253321db90e9844f04cd7299c1a2e1633a
tree0fd3af340c492fc4f201c3eec3e9e9659ce32cc8
parente49b6bb61828b8b903db0ef48113b4065a215c63
uClibc++: Update to 0.2.5

Switched to xz archives for smaller size.

Removed upstreamed patches.

Reorganized Makefile a little bit for clarity. Build/Prepare is not useful
anymore. Upstream converted the file to LF.

Refreshed config.

Removed -ansi option from the original CFLAGS as this was causing long
long support to be missing.

Removed fPIC. We have the macro $(FPIC) already used. No point in setting
fpic and fPIC together.

Removed pedantic -Wlong-long warnings as they are not useful.

Removed -std=gnu++98. Not only is it unnecessary (it compiles against all
standards), it actually results in a size increase. 75843 vs. 75222 (gcc
in OpenWrt defaults to g++14).

Added --gc-sections to linker flags to reduce size: 72653 vs 75222.

Removed warn linker options. They have been upstreamed.

Tested on Archer C7v2 and GnuBee PC1.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
13 files changed:
package/libs/uclibc++/Makefile
package/libs/uclibc++/files/config.default
package/libs/uclibc++/patches/001-no-ansi.patch [new file with mode: 0644]
package/libs/uclibc++/patches/002-path_to_bash.patch [deleted file]
package/libs/uclibc++/patches/002-quote-fix.patch [new file with mode: 0644]
package/libs/uclibc++/patches/003-no-fPIC.patch [new file with mode: 0644]
package/libs/uclibc++/patches/004-no-pedantic.patch [new file with mode: 0644]
package/libs/uclibc++/patches/006-eabi_fix.patch [deleted file]
package/libs/uclibc++/patches/010-honor-ldflags.patch [deleted file]
package/libs/uclibc++/patches/020-template-fix.patch [deleted file]
package/libs/uclibc++/patches/030-memory_corruption_fix.patch [deleted file]
package/libs/uclibc++/patches/040-delete-c++14.patch [deleted file]
package/libs/uclibc++/patches/050-Bugfix-erase-on-derived-__base_associative.patch [deleted file]