summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-12-04 01:19:40 +0100
committerRichard Braun <rbraun@sceen.net>2017-12-04 01:19:40 +0100
commitad764c47c8b183590c06c5ac0be90eea28e4ab13 (patch)
tree4f35b2bc3f6a84dec21900f0382bd1d555114bb6
parent6440d748b5d09828f3ede954e62d7048fe3250c5 (diff)
Temporarily disable warnings about unneeded symbols
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a324fae8..7a42c1fa 100644
--- a/Makefile
+++ b/Makefile
@@ -260,6 +260,9 @@ XBUILD_CFLAGS += -Wshadow
XBUILD_CFLAGS += -Wmissing-prototypes
XBUILD_CFLAGS += -Wstrict-prototypes
+# XXX Temporary, until a single solution is adopted to silence these warnings.
+XBUILD_CFLAGS += -Wno-unneeded-internal-declaration
+
XBUILD_CFLAGS += $(call xbuild_check_cc_option,-fno-PIE)
XBUILD_CFLAGS += $(call xbuild_check_cc_option,-Qunused-arguments)