From 59fa9d92972e60ef5d7278454d584dae582401c0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 23 Jul 2012 16:26:38 +0300 Subject: [PATCH] Define also MACOSX_SDK_VERSION in compilations Change-Id: I1f9810b1230c4e3e5ca0571e5392297c1daf6a47 --- solenv/gbuild/platform/macosx.mk | 1 + solenv/inc/unxmacx.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index 425c7d6fb094..084c4c02c015 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -44,6 +44,7 @@ gb_OSDEFS := \ -DQUARTZ \ -DMAC_OS_X_VERSION_MIN_REQUIRED=$(MAC_OS_X_VERSION_MIN_REQUIRED) \ -DMAC_OS_X_VERSION_MAX_ALLOWED=$(MAC_OS_X_VERSION_MAX_ALLOWED) \ + -DMACOSX_SDK_VERSION=$(MACOSX_SDK_VERSION) \ $(EXTRA_CDEFS) \ diff --git a/solenv/inc/unxmacx.mk b/solenv/inc/unxmacx.mk index 1a7c891cb43c..a5ea2871de48 100644 --- a/solenv/inc/unxmacx.mk +++ b/solenv/inc/unxmacx.mk @@ -49,7 +49,7 @@ CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY $(PROCESSOR_DEFI #.EXPORT: MACOSX_DEPLOYMENT_TARGET CDEFS+:=-DQUARTZ -EXTRA_CDEFS+:=-isysroot $(MACOSX_SDK_PATH) -DMAC_OS_X_VERSION_MIN_REQUIRED=$(MAC_OS_X_VERSION_MIN_REQUIRED) -DMAC_OS_X_VERSION_MAX_ALLOWED=$(MAC_OS_X_VERSION_MAX_ALLOWED) +EXTRA_CDEFS+:=-isysroot $(MACOSX_SDK_PATH) -DMAC_OS_X_VERSION_MIN_REQUIRED=$(MAC_OS_X_VERSION_MIN_REQUIRED) -DMAC_OS_X_VERSION_MAX_ALLOWED=$(MAC_OS_X_VERSION_MAX_ALLOWED) -DMACOSX_SDK_VERSION=$(MACOSX_SDK_VERSION) # Name of library where static data members are initialized # STATICLIBNAME=static$(DLLPOSTFIX)