Use bash variable add operator
[hvlinux.git] / stage0 / pkg / binutils
index 443714d..5c80364 100644 (file)
@@ -5,8 +5,7 @@ hvconfig_pre()
     export AR=ar
     export AS=as
 
-    CONFIGURE_OPTS="\
-        ${CONFIGURE_OPTS} \
+    CONFIGURE_OPTS+=" \
         --host=${CLFS_HOST} \
         --target=${CLFS_TARGET} \
         --with-sysroot=${CLFS} \
@@ -16,10 +15,9 @@ hvconfig_pre()
         --disable-multilib"
 
     case "${HVL_TARGET}" in
-        "x86_64")
-            # This adds 64 bit support to Binutils.
-           CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
-           ;;
+        x86_64*)
+            CONFIGURE_OPTS+=" --enable-64-bit-bfd"
+            ;;
     esac
 }