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 9a24f03..0f67027 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 6311ca7..d1bbcf7 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