From 0b2638253321db90e9844f04cd7299c1a2e1633a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 6 Apr 2019 23:37:56 -0700 Subject: 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 --- .../libs/uclibc++/patches/020-template-fix.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 package/libs/uclibc++/patches/020-template-fix.patch (limited to 'package/libs/uclibc++/patches/020-template-fix.patch') diff --git a/package/libs/uclibc++/patches/020-template-fix.patch b/package/libs/uclibc++/patches/020-template-fix.patch deleted file mode 100644 index f7cc09e140..0000000000 --- a/package/libs/uclibc++/patches/020-template-fix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/include/ostream -+++ b/include/ostream -@@ -294,7 +294,7 @@ namespace std { - #endif - #endif - -- template > -+ template - class _UCXXEXPORT basic_ostream::sentry - { - bool ok; ---- a/include/istream -+++ b/include/istream -@@ -340,7 +340,7 @@ namespace std{ - - }; - -- template > class _UCXXEXPORT basic_istream::sentry { -+ template class _UCXXEXPORT basic_istream::sentry { - bool ok; - public: - explicit _UCXXEXPORT sentry(basic_istream& os, bool noskipws = false){ -- cgit v1.2.3