summaryrefslogtreecommitdiff
path: root/solenv/inc/unxsoli4.mk
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-11 14:34:40 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-11 14:34:40 +0000
commit5100bf65dcc128a5d50510c3022da33ce9d310b5 (patch)
tree35b1c32b3c81e3615ba5c97a767fe9aeab4ae76f /solenv/inc/unxsoli4.mk
parent57b40c7d52b831588d04231aa567930d0806fbba (diff)
INTEGRATION: CWS ause030 (1.10.80); FILE MERGED
2005/06/20 13:34:44 hjs 1.10.80.2: #i47954# introduce ARCH_FLAG 2005/05/19 16:04:47 hjs 1.10.80.1: #i27568# seperated c/c++ switches to enable symbol builds if required
Diffstat (limited to 'solenv/inc/unxsoli4.mk')
-rw-r--r--solenv/inc/unxsoli4.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/solenv/inc/unxsoli4.mk b/solenv/inc/unxsoli4.mk
index b9cd454ed78f..9ba228b2c812 100644
--- a/solenv/inc/unxsoli4.mk
+++ b/solenv/inc/unxsoli4.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: unxsoli4.mk,v $
#
-# $Revision: 1.10 $
+# $Revision: 1.11 $
#
-# last change: $Author: obo $ $Date: 2005-03-15 09:58:19 $
+# last change: $Author: kz $ $Date: 2005-07-11 15:34:40 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -78,15 +78,20 @@ 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)
-CFLAGSCC=-xCC
-CFLAGSCXX=-features=no%altspell -library=no%Cstd
+CFLAGSCC=-xCC $(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