mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 19:40:39 +00:00
libjson-c: fix host-build
Add -Wno-implicit-fallthrough to HOST_CFLAGS. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 5e9470a93b6e79ec63d2eda16f1849d7e3868562)
This commit is contained in:
parent
da9fe5af19
commit
0320fea968
@ -30,6 +30,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough
|
TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough
|
||||||
|
HOST_CFLAGS += -Wno-implicit-fallthrough
|
||||||
|
|
||||||
define Package/libjson-c
|
define Package/libjson-c
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user