From c3fa75352da03e851e8d5a81c84ab5ed611a9893 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Mon, 11 Jul 2005 14:32:21 +0000 Subject: INTEGRATION: CWS ause030 (1.12.12); FILE MERGED 2005/06/20 13:34:40 hjs 1.12.12.1: #i47954# introduce ARCH_FLAG --- solenv/inc/unxlngs.mk | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'solenv/inc/unxlngs.mk') 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 -- cgit