From: Alexander Couzens Date: Fri, 4 Aug 2017 11:09:12 +0000 (+0200) Subject: package/elfutils: add CFLAG -Wno-format-nonliteral X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6ab45214644166846398e5e520d151c05cc4dd55;p=openwrt%2Fstaging%2Fnbd.git package/elfutils: add CFLAG -Wno-format-nonliteral When a library is using fortify-packages GCC will complain about "error: format not a string literal, argument types not checked". Signed-off-by: Alexander Couzens --- diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile index 869513f16f..a726691d3a 100644 --- a/package/libs/elfutils/Makefile +++ b/package/libs/elfutils/Makefile @@ -68,7 +68,7 @@ endif CONFIGURE_ARGS += \ --without-lzma -TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result +TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include