Browse Source

nfs-kernel-server: add -Wno-error=format-security to TARGET_CFLAGS to a fix compily error

Signed-off-by: Peter Wagner <tripolar@gmx.at>
lilik-openwrt-22.03
Peter Wagner 6 years ago
parent
commit
b1be3f9c06
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      net/nfs-kernel-server/Makefile

+ 2
- 0
net/nfs-kernel-server/Makefile View File

@ -71,7 +71,9 @@ endef
TARGET_CFLAGS += -Wno-error=implicit-function-declaration \
-Wno-error=strict-prototypes \
-Wno-error=incompatible-pointer-types \
-Wno-error=format-security \
-Wno-error=undef
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(LIBRPC) \
-L$(STAGING_DIR)/usr/lib/libevent


Loading…
Cancel
Save