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>
This commit is contained in:
Alexander Couzens 2017-08-04 13:09:12 +02:00
parent 164fe697f7
commit 6ab4521464
No known key found for this signature in database
GPG key ID: C29E9DA6A0DF8604

View file

@ -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