[source] package/elfutils: add CFLAG -Wno-format-nonliteral
LEDE Commits
lede-commits at lists.infradead.org
Sun Nov 12 16:13:36 PST 2017
lynxis pushed a commit to source.git, branch master:
https://git.lede-project.org/6ab45214644166846398e5e520d151c05cc4dd55
commit 6ab45214644166846398e5e520d151c05cc4dd55
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Fri Aug 4 13:09:12 2017 +0200
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 at fe80.eu>
---
package/libs/elfutils/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile
index 869513f..a726691 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
More information about the lede-commits
mailing list