aboutsummaryrefslogtreecommitdiff
path: root/lib/globals.sh
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2013-08-07 12:57:30 -0600
committerRob Savoye <rob.savoye@linaro.org>2013-08-07 12:57:30 -0600
commit860879cc3296dd4a717470cb098c022b5097b917 (patch)
tree82a2d3632cf077201591f080a21c3d38315677c8 /lib/globals.sh
parent8028ee433d3801dd2b159841104b574238e044d2 (diff)
use config.guess for the build architecture.
Diffstat (limited to 'lib/globals.sh')
-rw-r--r--lib/globals.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/globals.sh b/lib/globals.sh
index f4e982fb..bf31107a 100644
--- a/lib/globals.sh
+++ b/lib/globals.sh
@@ -2,7 +2,7 @@
# These store all the data used for this test run that can be overwritten by
# command line options.
-build="`gcc -v 2>&1 | grep Target: | cut -d ' ' -f 2`"
+build="`${topdir}/config.guess`"
target=
gcc="`which gcc`"
gcc_version="`${gcc} -v 2>&1 | tail -1`"