summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-06 13:53:24 +0000
committerVincent Sanders <vince@kyllikki.org>2016-02-06 13:53:24 +0000
commit44ad118bc7ea2991bce512f5da8185a8f0dd9ec0 (patch)
tree4c8881f3f4d47b47c22dc7f6f9a65bfcf3336c9b /makefiles
parent57cae6426121c4279d648caa5175c2bd3dcd973c (diff)
downloadbuildsystem-44ad118bc7ea2991bce512f5da8185a8f0dd9ec0.tar.gz
buildsystem-44ad118bc7ea2991bce512f5da8185a8f0dd9ec0.tar.bz2
cope with Apple clang version
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/Makefile.tools4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index d74b64b..2410493 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -379,6 +379,10 @@ else
# (ie, Debian, Apple, etc)
toolchain := clang
endif
+ ifeq ($(word 2,$(ccvsn)),LLVM)
+ # Apple version is "Apple LLVM" to be differntly awkward
+ toolchain := clang
+ endif
ifeq ($(word 1,$(ccvsn)),Open64)
toolchain := open64
endif