From c245ad3b7927dd5e142b456af499bc675304e904 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 15 Dec 2015 05:48:40 +0100 Subject: recognize clang befoe gcc, so that we set the right options --- scripts/prereq.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/prereq.sh') 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 -- cgit v1.2.3