diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-08-04 13:09:12 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2017-11-13 01:11:12 +0100 |
commit | 6ab45214644166846398e5e520d151c05cc4dd55 (patch) | |
tree | dd5f3e1e86754fd51f990352b7ce0d69e84f25ad /package/libs | |
parent | 164fe697f747aa59a91139425ef9bc82358c4a08 (diff) | |
download | mtk-20170518-6ab45214644166846398e5e520d151c05cc4dd55.zip mtk-20170518-6ab45214644166846398e5e520d151c05cc4dd55.tar.gz mtk-20170518-6ab45214644166846398e5e520d151c05cc4dd55.tar.bz2 |
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>
Diffstat (limited to 'package/libs')
-rw-r--r-- | package/libs/elfutils/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |