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=