Commit da489c12 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib: sanitize default OSX environment settings

parent 2460084e
...@@ -115,12 +115,12 @@ endif ...@@ -115,12 +115,12 @@ endif
ifdef HAVE_MACOSX ifdef HAVE_MACOSX
MIN_OSX_VERSION=10.5 MIN_OSX_VERSION=10.5
CC=gcc-4.2 CC=xcrun llvm-gcc-4.2
CXX=g++-4.2 CXX=xcrun llvm-g++-4.2
AR=ar AR=xcrun ar
LD=ld LD=xcrun ld
STRIP=strip STRIP=xcrun strip
RANLIB=ranlib RANLIB=xcrun ranlib
EXTRA_CFLAGS += -isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION) EXTRA_CFLAGS += -isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -isysroot $(MACOSX_SDK) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION) EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -isysroot $(MACOSX_SDK) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
ifeq ($(ARCH),x86_64) ifeq ($(ARCH),x86_64)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment