diff --git a/Modules/Mk/ov.module.mk b/Modules/Mk/ov.module.mk index 89d0954b8..11feb8f57 100644 --- a/Modules/Mk/ov.module.mk +++ b/Modules/Mk/ov.module.mk @@ -187,11 +187,9 @@ LIBTOOL=$(shell ../Mk/find-libtool.pl) ifeq ("$(OS_COMPILE)", "Darwin") - GCC=/usr/bin/gcc-4.0 - GPP=/usr/bin/g++-4.0 override INC+=-I../SharedHeaders - ARCH=-arch i386 -arch ppc - SDK=/Developer/SDKs/MacOSX10.4u.sdk + ARCH=-arch i386 + SDK=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk override CFLAGS+=$(ARCH) -O2 -Wall $(INC) -isysroot ${SDK} \ -F../ -F/Library/Frameworks/ override LDFLAGS+= $(ARCH) -isysroot ${SDK} diff --git a/Modules/OVIMSpaceChewing/OVIMSpaceChewing.xcodeproj/project.pbxproj b/Modules/OVIMSpaceChewing/OVIMSpaceChewing.xcodeproj/project.pbxproj index 030792236..ec4c632b3 100644 --- a/Modules/OVIMSpaceChewing/OVIMSpaceChewing.xcodeproj/project.pbxproj +++ b/Modules/OVIMSpaceChewing/OVIMSpaceChewing.xcodeproj/project.pbxproj @@ -295,7 +295,7 @@ i386, ); COPY_PHASE_STRIP = NO; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk; }; name = Debug; }; @@ -307,7 +307,7 @@ i386, ); COPY_PHASE_STRIP = YES; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk; }; name = Release; };