From 18ce13a80f7d694b3d3443b880c8a416a88254d7 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 25 Oct 2013 18:30:37 +0200 Subject: [PATCH] gcc: fix build for non-arm and remove bashism --- base/gcc/parse-config-fixarch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/gcc/parse-config-fixarch b/base/gcc/parse-config-fixarch index 2d93139b5..ea0404da0 100644 --- a/base/gcc/parse-config-fixarch +++ b/base/gcc/parse-config-fixarch @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../gcc/parse-config-fixarch -# Copyright (C) 2012 The OpenSDE Project +# Copyright (C) 2012 - 2013 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -16,6 +16,6 @@ case $SDECFG_ARM_ABI in aapcs|aapcs-linux) arch_target="${arch_target}eabi" esac -if [ $SDECFG_ARM_FLOAT_ABI == "hard" ]; then +if [ "$SDECFG_ARM_FLOAT_ABI" = "hard" ]; then arch_target="${arch_target}hf" fi