summaryrefslogtreecommitdiff
path: root/tools/ucl/src
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ucl/src')
-rw-r--r--tools/ucl/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile
index a741f1ee8c..14ba2c2b04 100644
--- a/tools/ucl/src/Makefile
+++ b/tools/ucl/src/Makefile
@@ -36,6 +36,9 @@ ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE)
36# that to determine if we need to set arch and isysroot. 36# that to determine if we need to set arch and isysroot.
37ifeq ($(findstring __clang__,$(CPPDEFINES)),__clang__) 37ifeq ($(findstring __clang__,$(CPPDEFINES)),__clang__)
38CFLAGS += -mmacosx-version-min=10.5 38CFLAGS += -mmacosx-version-min=10.5
39ifneq ($(ISYSROOT),)
40CFLAGS += -isysroot $(ISYSROOT)
41endif
39else 42else
40# when building libs for OS X 10.4+ build for both i386 and ppc at the same time. 43# when building libs for OS X 10.4+ build for both i386 and ppc at the same time.
41# This creates fat objects, and ar can only create the archive but not operate 44# This creates fat objects, and ar can only create the archive but not operate