Build utilities for Mac OSX 10.5+ using Xcode 3.1.4
authorMichael McMaster <michael@codesrc.com>
Mon, 5 May 2014 11:18:59 +0000 (11:18 +0000)
committerMichael McMaster <michael@codesrc.com>
Mon, 5 May 2014 11:18:59 +0000 (11:18 +0000)
software/bootloaderhost/Makefile
software/scsi2sd-config/Makefile

index 9a24f035dbeb17f927641a98bebd93469ed67b5a..0f670278c2449cbe9c70d77de89aff7e7c7ef584 100644 (file)
@@ -17,6 +17,8 @@ ifeq ($(UNAME_S),Darwin)
        # Should match OSX
        HID_C = hidapi/mac/hid.c
        LDFLAGS += -framework IOKit -framework CoreFoundation
+       CFLAGS += -mmacosx-version-min=10.5 -arch x86_64 -arch i386 -arch ppc -isysroot /Xcode3.1.4/SDKs/MacOSX10.5.sdk
+       CC=/Xcode3.1.4/usr/bin/gcc
 endif
 
 
index 6311ca70876856d94f2359ffde92620b44b97ad2..d1bbcf7da27d2ba5a233007c57a4b6ebd5f56ac8 100644 (file)
@@ -11,6 +11,8 @@ ifeq ($(UNAME_S),Darwin)
        # Should match OSX
        HID_C = ../bootloaderhost/hidapi/mac/hid.c
        LDFLAGS += -framework IOKit -framework CoreFoundation
+       CFLAGS += -mmacosx-version-min=10.5 -arch x86_64 -arch i386 -arch ppc -isysroot /Xcode3.1.4/SDKs/MacOSX10.5.sdk
+       CC = /Xcode3.1.4/usr/bin/gcc
 endif