From c2610c62339877a3495ba900af87fb50a0721a9e Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 4 Feb 2004 11:38:35 +0000 Subject: INTEGRATION: CWS ooo20031216 (1.2.96); FILE MERGED 2003/12/17 12:36:18 waratah 1.2.96.1: #i23040# - sparcmoz - MInor charges to the compile options and enabling crash dump --- solenv/inc/unxlngs.mk | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'solenv/inc/unxlngs.mk') diff --git a/solenv/inc/unxlngs.mk b/solenv/inc/unxlngs.mk index 01440ca9c287..e9ac67a7931c 100644 --- a/solenv/inc/unxlngs.mk +++ b/solenv/inc/unxlngs.mk @@ -2,9 +2,9 @@ # # $RCSfile: unxlngs.mk,v $ # -# $Revision: 1.2 $ +# $Revision: 1.3 $ # -# last change: $Author: hr $ $Date: 2003-04-28 16:47:37 $ +# last change: $Author: hr $ $Date: 2004-02-04 12:38:35 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -64,7 +64,7 @@ ASM=gcc AFLAGS=-Wa,-Av8plus,-K,PIC -c $(CDEFS) -SOLAR_JAVA=TRUE +SOLAR_JAVA*=TRUE JAVAFLAGSDEBUG=-g # filter for supressing verbose messages from linker @@ -95,6 +95,14 @@ CC*=gcc CFLAGS= .ENDIF CFLAGS+=-fmessage-length=0 -c $(INCLUDE) + +# flags to enable build with symbols; required for crashdump feature +.IF "$(ENABLE_SYMBOLS)"=="SMALL" +CFLAGSENABLESYMBOLS=-g1 +.ELSE +CFLAGSENABLESYMBOLS=-g +.ENDIF + # flags for the C++ Compiler CFLAGSCC= -pipe # Flags for enabling exception handling @@ -103,7 +111,7 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs CFLAGS_NO_EXCEPTIONS=-fno-exceptions # -fpermissive should be removed as soon as possible -CFLAGSCXX= -pipe -fno-for-scope -fpermissive -fno-rtti +CFLAGSCXX= -pipe -fpermissive -fno-rtti # HACK: enable Hamburg developers to build on glibc-2.2 machines but compile vs. glibc-2.1 headers .IF "$(BUILD_SPECIAL)"=="" @@ -130,9 +138,12 @@ CFLAGSDBGUTIL= # Compiler flags for enabling optimazations # CFLAGSOPT=-O2 # reduce to -O1 to avoid optimisation problems -CFLAGSOPT=-O1 +# CFLAGSOPT=-01 +# We use -03, also see IZ 17788 -fno-strict-aliasing +CFLAGSOPT=-O3 -fno-strict-aliasing # Compiler flags for disabling optimazations -CFLAGSNOOPT= +#CFLAGSNOOPT= +CFLAGSNOOPT=-fno-strict-aliasing # Compiler flags for discibing the output path CFLAGSOUTOBJ=-o # Enable all warnings -- cgit