diff --git a/compile.mk b/compile.mk index 24bd89f6..cbaf43a1 100644 --- a/compile.mk +++ b/compile.mk @@ -17,8 +17,7 @@ ifeq ($(ARCH), mac) FLAGS += -DARCH_MAC CXXFLAGS += -stdlib=libc++ LDFLAGS += -stdlib=libc++ - MAC_SDK_FLAGS = -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk \ - -mmacosx-version-min=10.7 + MAC_SDK_FLAGS = -mmacosx-version-min=10.7 FLAGS += $(MAC_SDK_FLAGS) LDFLAGS += $(MAC_SDK_FLAGS) endif diff --git a/dep/Makefile b/dep/Makefile index 58c00b3f..94a01ca3 100755 --- a/dep/Makefile +++ b/dep/Makefile @@ -5,8 +5,7 @@ LOCAL = $(PWD) include ../arch.mk ifeq ($(ARCH),mac) - export CFLAGS = -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk \ - -mmacosx-version-min=10.7 + export CFLAGS = -mmacosx-version-min=10.7 export CXXFLAGS = $(CFLAGS) export LDFLAGS = $(CFLAGS) endif