Skip to content

Commit

Permalink
Fix build rules for new SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
kcwu committed Dec 26, 2016
1 parent c710773 commit 3d095d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Modules/Mk/ov.module.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand All @@ -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;
};
Expand Down

0 comments on commit 3d095d8

Please sign in to comment.