aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2015-12-08 16:33:49 -0700
committerRob Savoye <rob.savoye@linaro.org>2015-12-08 16:33:49 -0700
commit0d60fbdf636179af6f1e8845241d4a853aba08b1 (patch)
tree1a79ad4d495800711ee6b62bda2d0e40e01e0cbd
parent4973a51109b6b66c941f1535d5f36d0b87c8e828 (diff)
Use lowercase BUILD_ARCH
Change-Id: Ic06245e975a15eca590afecb15134c59ff3ec779
-rw-r--r--lib/globals.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/globals.sh b/lib/globals.sh
index 59a7a23b..ba7a0358 100644
--- a/lib/globals.sh
+++ b/lib/globals.sh
@@ -81,8 +81,8 @@ fi
# (ie... x86 on x86_64) then we need to forcibly set the architecture or
# configure gets the wrong architecture.
setarch=""
-if test `uname -m` != ${BUILD_ARCH}; then
- setarch="setarch ${BUILD_ARCH}"
+if test `uname -m` != ${build_arch}; then
+ setarch="setarch ${build_arch}"
fi
clobber=no