diff options
author | Nico Huber <nico.h@gmx.de> | 2016-12-22 22:16:39 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-12-28 03:36:36 +0100 |
commit | ae6187f01f29cb383a1d3bba0ce2614b17c18c5a (patch) | |
tree | acf63cc6702cd0c3f6b0b1b4b77dd4484caccfe1 /util | |
parent | 85653748a4a503fc8fae82a12e5b7d162f50348c (diff) |
buildgcc: Fix string comparison operator
Change-Id: I8ff8d51507dcf12cd554c8b4713074a99e47c11e
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/17942
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rwxr-xr-x | util/crossgcc/buildgcc | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |