projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
164fe69
)
package/elfutils: add CFLAG -Wno-format-nonliteral
author
Alexander Couzens
<lynxis@fe80.eu>
Fri, 4 Aug 2017 11:09:12 +0000
(13:09 +0200)
committer
Alexander Couzens
<lynxis@fe80.eu>
Mon, 13 Nov 2017 00:11:12 +0000
(
01:11
+0100)
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>
package/libs/elfutils/Makefile
patch
|
blob
|
history
diff --git
a/package/libs/elfutils/Makefile
b/package/libs/elfutils/Makefile
index 869513f16f218c3372edc89c63160037342790e2..a726691d3ac0f5414d69e6a5182acc10b0f4dfd1 100644
(file)
--- 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