diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-07-11 14:35:18 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-07-11 14:35:18 +0000 |
commit | bcb5cf404314db9c54802f56e46d433bc055ba7c (patch) | |
tree | 56f94e0fe9791fc1fc39dbc6c00513b78fe4881e /solenv/inc/unxsols4.mk | |
parent | 5100bf65dcc128a5d50510c3022da33ce9d310b5 (diff) |
INTEGRATION: CWS ause030 (1.18.80); FILE MERGED
2005/06/20 13:34:45 hjs 1.18.80.2: #i47954# introduce ARCH_FLAG
2005/05/19 16:04:47 hjs 1.18.80.1: #i27568# seperated c/c++ switches to enable symbol builds if required
Diffstat (limited to 'solenv/inc/unxsols4.mk')
-rw-r--r-- | solenv/inc/unxsols4.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/solenv/inc/unxsols4.mk b/solenv/inc/unxsols4.mk index 609e990535a9..ae709cade81e 100644 --- a/solenv/inc/unxsols4.mk +++ b/solenv/inc/unxsols4.mk @@ -2,9 +2,9 @@ # # $RCSfile: unxsols4.mk,v $ # -# $Revision: 1.18 $ +# $Revision: 1.19 $ # -# last change: $Author: obo $ $Date: 2005-03-15 09:58:38 $ +# last change: $Author: kz $ $Date: 2005-07-11 15:35:18 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -79,16 +79,21 @@ JAVA_RUNTIME=-ljava_g .ENDIF .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*= + CXX*=CC CC*=cc CFLAGS=$(PREENVCFLAGS) -c -temp=/tmp $(INCLUDE) # CC defines __sparcv8plus with -xarch=v8plus, cc does not (sigh) -CFLAGSCC=-xCC -D__sparcv8plus -CFLAGSCXX=-features=no%altspell -library=no%Cstd +CFLAGSCC=-xCC -D__sparcv8plus $(ARCH_FLAGS) +CFLAGSCXX=-features=no%altspell -library=no%Cstd $(ARCH_FLAGS) # flags to enable build with symbols; required for crashdump feature CFLAGSENABLESYMBOLS=-g0 -xs # was temporarily commented out, reenabled before Beta +CFLAGSENABLESYMBOLS_CC_ONLY=-g -xs # was temporarily commented out, reenabled before Beta CFLAGSEXCEPTIONS= CFLAGS_NO_EXCEPTIONS=-noex |