diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-20 10:37:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-09-20 10:37:16 +0300 |
commit | 288d4bf31399f474aadcd16b9a800aade0741aa2 (patch) | |
tree | 280a4f78dcba13b7377b8c140dcf2bb2c17c1614 /solenv/inc | |
parent | 90fc5593a44f41489719bc882db21813416f80da (diff) |
Move -isysroot from gb_CFLAGS/gb_CXXFLAGS to CC/CXX
That is a much better place for it. The gb_C(XX)FLAGS don't get passed
on to "external" modules, so they should not contain flags that are
essential for the compilation to work at all. I think.
At least for me, in my MacOSX SDK 10.4 -based build tree, using Xcode
3 installed in /Xcode3, on OS X 10.8, the -isysroot is essential for
liborcus to compile.
Change-Id: I1f11c690585e4ba512eb87d2fddf11872b91dd57
Diffstat (limited to 'solenv/inc')
-rw-r--r-- | solenv/inc/unxmacx.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/inc/unxmacx.mk b/solenv/inc/unxmacx.mk index a5ea2871de48..0a58f4cc10b8 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) -DMACOSX_SDK_VERSION=$(MACOSX_SDK_VERSION) +EXTRA_CDEFS+:=-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) |