Skip to content

Commit

Permalink
reverse order of SDKVERS so that lowest version is preferred
Browse files Browse the repository at this point in the history
  • Loading branch information
braddr committed Sep 11, 2012
1 parent 74d254c commit 1b2e680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posix.mak
Expand Up @@ -57,7 +57,7 @@ ifeq (OSX,$(TARGET))
endif
## See: http://developer.apple.com/documentation/developertools/conceptual/cross_development/Using/chapter_3_section_2.html#//apple_ref/doc/uid/20002000-1114311-BABGCAAB
ENVP= MACOSX_DEPLOYMENT_TARGET=10.3
SDKVERS:=7 6 5 4 3 2 1
SDKVERS:=1 2 3 4 5 6 7
SDKFILES=$(foreach SDKVER, $(SDKVERS), $(wildcard $(SDKDIR)/MacOSX10.$(SDKVER).sdk))
SDK=$(firstword $(SDKFILES))
TARGET_CFLAGS=-isysroot ${SDK}
Expand Down

0 comments on commit 1b2e680

Please sign in to comment.