summaryrefslogtreecommitdiff
path: root/solenv/inc/unxlngs.mk
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-11 14:32:21 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-11 14:32:21 +0000
commitc3fa75352da03e851e8d5a81c84ab5ed611a9893 (patch)
tree0837feb8a998cc63bccdf49e935c08d490a11acf /solenv/inc/unxlngs.mk
parent7b8fdcddad8249c9ac8f802857df81df31555e7d (diff)
INTEGRATION: CWS ause030 (1.12.12); FILE MERGED
2005/06/20 13:34:40 hjs 1.12.12.1: #i47954# introduce ARCH_FLAG
Diffstat (limited to 'solenv/inc/unxlngs.mk')
-rw-r--r--solenv/inc/unxlngs.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/solenv/inc/unxlngs.mk b/solenv/inc/unxlngs.mk
index 2b713d79dcbe..33aa1f074203 100644
--- a/solenv/inc/unxlngs.mk
+++ b/solenv/inc/unxlngs.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: unxlngs.mk,v $
#
-# $Revision: 1.12 $
+# $Revision: 1.13 $
#
-# last change: $Author: rt $ $Date: 2005-05-11 11:03:09 $
+# last change: $Author: kz $ $Date: 2005-07-11 15:32:21 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -89,6 +89,10 @@ 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*=
+
# name of C++ Compiler
#CXX*=g++
#name of C Compiler
@@ -107,13 +111,13 @@ CFLAGSENABLESYMBOLS=-g
.ENDIF
# flags for the C++ Compiler
-CFLAGSCC= -pipe
+CFLAGSCC= -pipe $(ARCH_FLAGS)
# Flags for enabling exception handling
CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
# Flags for disabling exception handling
CFLAGS_NO_EXCEPTIONS=-fno-exceptions
-CFLAGSCXX= -pipe
+CFLAGSCXX= -pipe $(ARCH_FLAGS)
CFLAGSCXX+= -Wno-ctor-dtor-privacy
PICSWITCH:=-fPIC