summaryrefslogtreecommitdiff
path: root/solenv/inc/unxsogi.mk
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-11 14:33:50 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-11 14:33:50 +0000
commitfa60d665750e65de4751af3f7fd7ca7f9ceeac08 (patch)
tree52bacdd8a1f292417fde29e2f0824990858c519a /solenv/inc/unxsogi.mk
parent8847c607188f850128bb2113be7ce5880a5d59e6 (diff)
INTEGRATION: CWS ause030 (1.5.80); FILE MERGED
2005/06/20 13:34:42 hjs 1.5.80.1: #i47954# introduce ARCH_FLAG
Diffstat (limited to 'solenv/inc/unxsogi.mk')
-rw-r--r--solenv/inc/unxsogi.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/solenv/inc/unxsogi.mk b/solenv/inc/unxsogi.mk
index d4c173630b52..93c59f740c1d 100644
--- a/solenv/inc/unxsogi.mk
+++ b/solenv/inc/unxsogi.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: unxsogi.mk,v $
#
-# $Revision: 1.5 $
+# $Revision: 1.6 $
#
-# last change: $Author: obo $ $Date: 2005-03-15 09:57:50 $
+# last change: $Author: kz $ $Date: 2005-07-11 15:33:50 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -80,15 +80,19 @@ 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*=g++
CC*=gcc
CFLAGS=-c $(INCLUDE)
-CFLAGSCC= -pipe
+CFLAGSCC= -pipe $(ARCH_FLAGS)
CFLAGSEXCEPTIONS=-fexceptions
CFLAGS_NO_EXCEPTIONS=-fno-exceptions
-CFLAGSCXX= -pipe
+CFLAGSCXX= -pipe $(ARCH_FLAGS)
PICSWITCH:=-fPIC
CFLAGSOBJGUIST=