diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-07-11 14:33:21 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-07-11 14:33:21 +0000 |
commit | 81e8d9e82850a1d0621164d4f773385213259fcb (patch) | |
tree | 621e0f22f0199600b79a20f85c1232a5a9d9bfa1 /solenv/inc/unxmacxp.mk | |
parent | 1d2fe998ae33671e498958da4f3b078fee731045 (diff) |
INTEGRATION: CWS ause030 (1.54.6); FILE MERGED
2005/06/20 13:34:41 hjs 1.54.6.1: #i47954# introduce ARCH_FLAG
Diffstat (limited to 'solenv/inc/unxmacxp.mk')
-rw-r--r-- | solenv/inc/unxmacxp.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/solenv/inc/unxmacxp.mk b/solenv/inc/unxmacxp.mk index 487746b89dce..0f4b408da583 100644 --- a/solenv/inc/unxmacxp.mk +++ b/solenv/inc/unxmacxp.mk @@ -2,9 +2,9 @@ # # $RCSfile: unxmacxp.mk,v $ # -# $Revision: 1.54 $ +# $Revision: 1.55 $ # -# last change: $Author: kz $ $Date: 2005-05-31 17:01:13 $ +# last change: $Author: kz $ $Date: 2005-07-11 15:33:21 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -92,6 +92,10 @@ SOLAR_JAVA*=TRUE JAVA_RUNTIME=-framework JavaVM .ENDIF +# architecture dependent flags for the C and C++ compiler that can be changed by +# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build +ARCH_FLAGS*= + # Specify the compiler to use. NOTE: MacOS X should always specify # c++ for C++ compilation as it does certain C++ specific things # behind the scenes for us. @@ -108,7 +112,7 @@ CFLAGS=-fsigned-char -fmessage-length=0 -malign-natural -c $(INCLUDE) # Compilation flags # --------------------------------- # Normal C compilation flags -CFLAGSCC=-pipe -fsigned-char -malign-natural +CFLAGSCC=-pipe -fsigned-char -malign-natural $(ARCH_FLAGS) # Normal Objective C compilation flags OBJCFLAGS=-no-precomp @@ -120,7 +124,7 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs CFLAGS_NO_EXCEPTIONS=-fno-exceptions # Normal C++ compilation flags -CFLAGSCXX=-pipe -malign-natural -fsigned-char -Wno-long-double +CFLAGSCXX=-pipe -malign-natural -fsigned-char -Wno-long-double $(ARCH_FLAGS) CFLAGSCXX+= -Wno-ctor-dtor-privacy PICSWITCH:=-fPIC # Other flags |