aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/uclibc++/patches/003-no-fPIC.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-02-26 20:17:46 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2021-10-24 18:20:50 +0200
commit6b2ed6101e4c97691ba3aa94f25895be536b3870 (patch)
tree98ee702823e44b2f6fdb148b5eb53753bfa3cbef /package/libs/uclibc++/patches/003-no-fPIC.patch
parent09465d802b8ce37ee87b6d104889059a6fa948e6 (diff)
downloadupstream-6b2ed6101e4c97691ba3aa94f25895be536b3870.tar.gz
upstream-6b2ed6101e4c97691ba3aa94f25895be536b3870.tar.bz2
upstream-6b2ed6101e4c97691ba3aa94f25895be536b3870.zip
uclibc++: remove
No package here depends on it. Furthermore, uClibc++ is a fairly buggy C++ library and seems to be relatively inactive upstream. It also lacks proper support for modern C++11 features. The main benefit of it is size: 66.6 KB vs 287.3 KB on mips24kc. Static linking and LTO can help bring the size down of packages that need it. Added warning message to uclibc++.mk Signed-off-by: Rosen Penev <rosenp@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/libs/uclibc++/patches/003-no-fPIC.patch')
-rw-r--r--package/libs/uclibc++/patches/003-no-fPIC.patch10
1 files changed, 0 insertions, 10 deletions
diff --git a/package/libs/uclibc++/patches/003-no-fPIC.patch b/package/libs/uclibc++/patches/003-no-fPIC.patch
deleted file mode 100644
index dfd8833ae4..0000000000
--- a/package/libs/uclibc++/patches/003-no-fPIC.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/Rules.mak
-+++ b/Rules.mak
-@@ -185,7 +185,6 @@ export UCLIBCXX_RUNTIME_PREFIX UCLIBCXX_
-
- WRAPPER = $(top_builddir)bin/g++-uc
- OPTIMIZATION:=
--PICFLAG:=-fPIC
-
- # use '-Os' optimization if available, else use -O2, allow Config to override
- $(eval $(call check-gcc-var,-Os))