aboutsummaryrefslogtreecommitdiffstats
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
parent60241e52db9b30cbec57a99f616a2c7e650b31c4 (diff)
downloadupstream-e6d4235ae50ce025b74bc49e7ab442c92527cbc2.tar.gz
upstream-e6d4235ae50ce025b74bc49e7ab442c92527cbc2.tar.bz2
upstream-e6d4235ae50ce025b74bc49e7ab442c92527cbc2.zip
json-c: disable implicit fallthrough warning (gcc 7)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-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 87dbc4708e..359a688f11 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