From ae6187f01f29cb383a1d3bba0ce2614b17c18c5a Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 22 Dec 2016 22:16:39 +0100 Subject: buildgcc: Fix string comparison operator Change-Id: I8ff8d51507dcf12cd554c8b4713074a99e47c11e 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 --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/crossgcc') 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 \ -- cgit v1.2.3