summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-05-04 15:45:35 +0200
committerFelix Fietkau <nbd@nbd.name>2017-05-25 19:01:07 +0200
commite6d4235ae50ce025b74bc49e7ab442c92527cbc2 (patch)
tree03e10f5e8ad599272301d4372a73588526dc08cb /package
parent60241e52db9b30cbec57a99f616a2c7e650b31c4 (diff)
downloadmtk-20170518-e6d4235ae50ce025b74bc49e7ab442c92527cbc2.zip
mtk-20170518-e6d4235ae50ce025b74bc49e7ab442c92527cbc2.tar.gz
mtk-20170518-e6d4235ae50ce025b74bc49e7ab442c92527cbc2.tar.bz2
json-c: disable implicit fallthrough warning (gcc 7)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/libs/libjson-c/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile
index 87dbc47..359a688 100644
--- a/package/libs/libjson-c/Makefile
+++ b/package/libs/libjson-c/Makefile
@@ -27,7 +27,7 @@ PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
include $(INCLUDE_DIR)/package.mk
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough
define Package/libjson-c
SECTION:=libs