From 86c9c9e63900ce0344cb9a4eb34d4e296de843e4 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Sun, 23 Jan 2011 12:04:06 +0000 Subject: Detecting apple clang and building universal binaries with clang and gcc on Mac OS X. svn path=/trunk/tools/buildsystem/; revision=11461 --- makefiles/Makefile.tools | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makefiles/Makefile.tools') 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),) -- cgit v1.2.3