From f5a0ee7a42d8a02aedecb06d9bc497c0dd5e4051 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 22 Dec 2016 22:16:39 +0100 Subject: [PATCH] UPSTREAM: buildgcc: Fix string comparison operator BUG=None BRANCH=None TEST=None Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/17942 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth Change-Id: I8ff8d51507dcf12cd554c8b4713074a99e47c11e Reviewed-on: https://chromium-review.googlesource.com/425260 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 30e2188111..b3deda5f3d 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -572,7 +572,7 @@ build_LIBELF() { } build_BINUTILS() { - if [ $TARGETARCH == "x86_64-elf" ]; then + if [ $TARGETARCH = "x86_64-elf" ]; then ADDITIONALTARGET=",i386-elf" fi CC="$CC" ../binutils-${BINUTILS_VERSION}/configure --prefix=$TARGETDIR \