Browse Source

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 <[email protected]>
Alexander Couzens 8 years ago
parent
commit
6ab4521464
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/libs/elfutils/Makefile

+ 1 - 1
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