diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-15 05:48:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-15 05:48:40 +0100 |
commit | c245ad3b7927dd5e142b456af499bc675304e904 (patch) | |
tree | 62926eaf2df8319f693f2f68f62722bf852fa4e8 /scripts | |
parent | abb6c759e3ab2b8cbae58f0f62e03faf5d30fdc3 (diff) |
recognize clang befoe gcc, so that we set the right options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/prereq.sh | 4 |
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 |