Browse Source

Remove -isysroot from Mac build system

tags/v0.3.2
Andrew Belt 7 years ago
parent
commit
00fed6326d
2 changed files with 2 additions and 4 deletions
  1. +1
    -2
      compile.mk
  2. +1
    -2
      dep/Makefile

+ 1
- 2
compile.mk View File

@@ -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


+ 1
- 2
dep/Makefile View File

@@ -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


Loading…
Cancel
Save