summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2015-08-19 17:33:55 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2015-08-19 17:33:55 +0100
commitf64aad3a15ad5b051830adda4bf87c5840448446 (patch)
tree7a868167fb3f5b34b482b16e3683d8ca1fcdae25
parenta7387291cc62ed82f8eb78751b037ffd828bf3b7 (diff)
uefi-build.sh: fix bug in GCC version selection
Previous commit contained a syntax error which ended up causing the GCC version to be picked from the native compiler. Oops! Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rwxr-xr-xuefi-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/uefi-build.sh b/uefi-build.sh
index 45234a2..3b0690b 100755
--- a/uefi-build.sh
+++ b/uefi-build.sh
@@ -44,7 +44,7 @@ function build_platform
case $TOOLCHAIN in
"gcc")
- export TOOLCHAIN=`get_gcc_version $(CROSS_COMPILE)gcc`
+ export TOOLCHAIN=`get_gcc_version "$CROSS_COMPILE"gcc`
;;
"clang")
export TOOLCHAIN=`get_clang_version clang`