Index: inc/unxlngs.mk =================================================================== RCS file: /cvs/tools/solenv/inc/unxlngs.mk,v retrieving revision 1.2 diff -u -u -r1.2 unxlngs.mk --- inc/unxlngs.mk 28 Apr 2003 16:47:37 -0000 1.2 +++ inc/unxlngs.mk 30 Nov 2003 09:15:19 -0000 @@ -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 @@ 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 @@ 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 @@ # 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