Nico Huber (nico.h@gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17937
-gerrit
commit 5b4f0e71b25abe61d2736819557ce6e3dc725f97 Author: Nico Huber nico.huber@secunet.com Date: Thu Dec 22 16:19:37 2016 +0100
buildgcc: Indicate CXXFLAGS for binutils
CXXFLAGS seems to be used a lot and have to be specified independently from CFLAGS.
Change-Id: Iff4c76e54a46e908299b532fd848165a3dc04d43 Signed-off-by: Nico Huber nico.huber@secunet.com --- util/crossgcc/buildgcc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 97c38b8..e8e522a 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -572,7 +572,10 @@ build_BINUTILS() { --target=${TARGETARCH} --enable-targets=${TARGETARCH}${ADDITIONALTARGET} \ --disable-werror --disable-nls --enable-lto --enable-gold \ --enable-interwork --enable-multilib \ - --enable-plugins --enable-multilibs CFLAGS="$HOSTCFLAGS" || touch .failed + --enable-plugins --enable-multilibs + CFLAGS="$HOSTCFLAGS" \ + CXXFLAGS="$HOSTCFLAGS" \ + || touch .failed $MAKE $JOBS || touch .failed $MAKE install DESTDIR=$DESTDIR || touch .failed }