aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/uclibc++/patches/004-no-pedantic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/uclibc++/patches/004-no-pedantic.patch')
-rw-r--r--package/libs/uclibc++/patches/004-no-pedantic.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libs/uclibc++/patches/004-no-pedantic.patch b/package/libs/uclibc++/patches/004-no-pedantic.patch
new file mode 100644
index 0000000000..5128ca3f83
--- /dev/null
+++ b/package/libs/uclibc++/patches/004-no-pedantic.patch
@@ -0,0 +1,13 @@
+--- 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)