summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2012-03-27 11:02:02 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2012-03-27 11:02:02 +0000
commit600d72929c22309efa5aca4d40999e10e611f288 (patch)
tree73a1e2a25b84ae19c1f1b1f811293e236e83633e
parentcf6117311da12365b720c51959fad52a9fcb54f3 (diff)
downloadbuildsystem-600d72929c22309efa5aca4d40999e10e611f288.tar.gz
buildsystem-600d72929c22309efa5aca4d40999e10e611f288.tar.bz2
Make compatible with newer clang version output which can include distributor name as first word
svn path=/trunk/tools/buildsystem/; revision=13738
-rw-r--r--makefiles/Makefile.tools9
1 files changed, 4 insertions, 5 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index c27b55c..c6f9dd6 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -400,11 +400,10 @@ else
ifeq ($(word 1,$(ccvsn)),clang)
toolchain := clang
endif
- ifeq ($(word 1,$(ccvsn)),Apple)
- ifeq ($(word 2,$(ccvsn)),clang)
- # Apple clang
- toolchain := clang
- endif
+ ifeq ($(word 2,$(ccvsn)),clang)
+ # Some newer clangs have distributor as first word
+ # (ie, Debian, Apple, etc)
+ toolchain := clang
endif
endif