diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-10-07 15:59:52 -0700 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-10-12 23:43:08 +0200 |
commit | 6ab386c9bc23420816fbcefc84b62cf5438b2c66 (patch) | |
tree | fa009cdf75a4dc6a0165d5d950f2948a2db5604e /package/libs/uclibc++/patches/004-no-pedantic.patch | |
parent | c5829788c955efc9c52f8a740987e362cacd95d8 (diff) | |
download | upstream-6ab386c9bc23420816fbcefc84b62cf5438b2c66.tar.gz upstream-6ab386c9bc23420816fbcefc84b62cf5438b2c66.tar.bz2 upstream-6ab386c9bc23420816fbcefc84b62cf5438b2c66.zip |
uClibc++: Fix three bugs
The first allows usage of several functions in the std namespace, which
broke compilation of gddrescue specifically with uClibc-ng and uClibc++.
The second allows usage of long long with normal C++11, which is part of
the standard. Before, std=gnu++11 needed to be passsed to work around it.
As a result of the second patch, the pedantic patch can safely be removed.
Both patches are upstream backports.
Added -std=c++11 to CFLAGS to guarentee proper inclusion of long long.
Added another patch that fixes a typo with the long long support. Sent to
upstream.
Fixed up license information according to SPDX.
Small cleanups for consistency.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/uclibc++/patches/004-no-pedantic.patch')
-rw-r--r-- | package/libs/uclibc++/patches/004-no-pedantic.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/package/libs/uclibc++/patches/004-no-pedantic.patch b/package/libs/uclibc++/patches/004-no-pedantic.patch deleted file mode 100644 index 5128ca3f83..0000000000 --- a/package/libs/uclibc++/patches/004-no-pedantic.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/Rules.mak -+++ b/Rules.mak -@@ -200,10 +200,6 @@ $(eval $(call check-gxx-var,-std=gnu++14)) - $(eval $(call check-gxx-var,-Wno-sized-deallocation)) - $(eval $(call check-gxx-var,-Wno-tautological-compare)) - --# Add a bunch of extra pedantic annoyingly strict checks --XWARNINGS=$(call qstrip,$(UCLIBCXX_WARNINGS)) -Wno-trigraphs -pedantic --CPU_CFLAGS=$(call qstrip,$(CPU_CFLAGS-y)) -- - # Some nice CFLAGS to work with - GEN_CFLAGS:=-fno-builtin - CFLAGS:=$(XWARNINGS) $(CPU_CFLAGS) |