[Buildroot] [PATCH 13/16] elf2flt: disable Werror to avoid build issues

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 16 21:43:19 UTC 2016


Some of the debugging printf use incorrect formats, which cause some
warnings. Due to the use of -Werror by default, the build breaks
unnecessarily. Therefore, disable -Werror when building elf2flt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/elf2flt/elf2flt.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/elf2flt/elf2flt.mk b/package/elf2flt/elf2flt.mk
index 796313b..eb0baad 100644
--- a/package/elf2flt/elf2flt.mk
+++ b/package/elf2flt/elf2flt.mk
@@ -18,7 +18,8 @@ HOST_ELF2FLT_CONF_OPTS = \
 	--with-binutils-include-dir=$(HOST_BINUTILS_DIR)/include/ \
 	--with-libbfd=$(HOST_BINUTILS_DIR)/bfd/libbfd.a \
 	--with-libiberty=$(HOST_BINUTILS_DIR)/libiberty/libiberty.a \
-	--target=$(GNU_TARGET_NAME)
+	--target=$(GNU_TARGET_NAME) \
+	--disable-werror
 
 HOST_ELF2FLT_LIBS = -lz
 
-- 
2.6.4




More information about the buildroot mailing list