From 3362272d4074b5ad239dde5d3cfecde2710615af Mon Sep 17 00:00:00 2001 From: "Kirill K. Smirnov" Date: Tue, 20 Sep 2016 23:28:29 +0300 Subject: [PATCH] elf2flt: do not treat warnings as errors elf2flt is configured with -Werror flag by default. Disable it. Signed-off-by: Kirill K. Smirnov --- scripts/build/binutils/binutils.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index 95cd42e0..c1e490d9 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -309,6 +309,7 @@ do_elf2flt_backend() { --with-binutils-include-dir=${binutils_src}/include \ --with-libbfd=${binutils_bld}/bfd/libbfd.a \ --with-libiberty=${binutils_bld}/libiberty/libiberty.a \ + --disable-werror \ ${elf2flt_opts} \ "${CT_ELF2FLT_EXTRA_CONFIG_ARRAY[@]}"