summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/prereq.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh
index 7ae1dff1e..744f39ac4 100755
--- a/scripts/prereq.sh
+++ b/scripts/prereq.sh
@@ -108,7 +108,7 @@ if [ ! -d $topdir/dl ]; then
fi
# check for c compiler
-compilerbins="cc gcc clang"
+compilerbins="clang cc gcc"
for compilerbin in $compilerbins; do
printf " ---> checking if $compilerbin is installed.. "
if which $compilerbin >/dev/null; then
@@ -119,7 +119,7 @@ for compilerbin in $compilerbins; do
done
# check for c++ compiler
-compilerbins="c++ g++ clang++"
+compilerbins="clang++ c++ g++"
for compilerbin in $compilerbins; do
printf " ---> checking if $compilerbin is installed.. "
if which $compilerbin >/dev/null; then