mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-12 21:53:23 +00:00
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 <lynxis@fe80.eu> (cherry picked from commit 6ab45214644166846398e5e520d151c05cc4dd55)
This commit is contained in:
parent
dde29b2b01
commit
e5c284bb81
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user