diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-23 12:04:06 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-23 12:04:06 +0000 |
commit | 86c9c9e63900ce0344cb9a4eb34d4e296de843e4 (patch) | |
tree | a2e5a2d97a72ee8658412ba07f5e9667a4f1fa23 /makefiles/Makefile.tools | |
parent | 2df4c9eb34e086100e048f7ba9cf42bcf89cb44b (diff) | |
download | buildsystem-86c9c9e63900ce0344cb9a4eb34d4e296de843e4.tar.gz buildsystem-86c9c9e63900ce0344cb9a4eb34d4e296de843e4.tar.bz2 |
Detecting apple clang and building universal binaries with clang and gcc on Mac OS X.
svn path=/trunk/tools/buildsystem/; revision=11461
Diffstat (limited to 'makefiles/Makefile.tools')
-rw-r--r-- | makefiles/Makefile.tools | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index a5148a2..6ac78a5 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -372,6 +372,12 @@ else ifeq ($(word 1,$(ccvsn)),clang) toolchain := clang endif + ifeq ($(word 1,$(ccvsn)),Apple) + ifeq ($(word 2,$(ccvsn)),clang) + # Apple clang + toolchain := clang + endif + endif endif ifeq ($(toolchain),) |