diff options
| author | Vlad Zakharov <vzakhar@synopsys.com> | 2016-08-19 19:29:21 +0300 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-19 23:05:45 +0200 |
| commit | fc61da15f46ca3eba529b71025ef9e5715b49716 (patch) | |
| tree | 5c5bbbfcff8563ea390054eb513c0a15112b22b5 /package/binutils/binutils.mk | |
| parent | f827fada63ccdcef848eade7c97572536b41677b (diff) | |
| download | buildroot-fc61da15f46ca3eba529b71025ef9e5715b49716.tar.gz buildroot-fc61da15f46ca3eba529b71025ef9e5715b49716.zip | |
binutils: disable warning flags to prevent build failures
binutils-arc-2016.09-eng008 build fails sometimes.
This happens due to the following issue:
binutils configure script has CC variable that stores compiler for
target and CC_FOR_BUILD variable that stores compiler for host.
WARN_FLAGS are verified by the script to be compatible only with CC
compiler but not with CC_FOR_BUILD compiler. Despite this WARN_FLAGS
are passed to both CC and CC_FOR_BUILD compilers. This leads to
unevident errors when cross-compiling. More information you can find
in the binutils mailing list:
https://sourceware.org/ml/binutils/2016-08/msg00117.html
We are going to write a patch for bunutils that fixes the initial
issue. Current patch contains temporary workaround. It should be
deleted after real fix.
Fixes:
http://autobuild.buildroot.net/results/00455b6a8324920ad843d90ce0413451522691a8//
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/binutils/binutils.mk')
| -rw-r--r-- | package/binutils/binutils.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index aeabf75b3f..2936eb518a 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -58,6 +58,7 @@ BINUTILS_CONF_OPTS = \ --host=$(GNU_TARGET_NAME) \ --target=$(GNU_TARGET_NAME) \ --enable-install-libiberty \ + --enable-build-warnings=no \ $(BINUTILS_DISABLE_GDB_CONF_OPTS) \ $(BINUTILS_EXTRA_CONFIG_OPTIONS) |

