From 00fed6326d990d2957715d2a1634641813c55405 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 22 Sep 2017 03:55:11 -0400 Subject: [PATCH] Remove -isysroot from Mac build system --- compile.mk | 3 +-- dep/Makefile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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