Resolves bug 204092. Shifted from default (-xO2) to -xO4 optimization NSPRPUB_RELEASE_4_1_BRANCH
authorkirk.erickson%sun.com
Sat, 17 May 2003 16:31:54 +0000
branchNSPRPUB_RELEASE_4_1_BRANCH
changeset 2839 88a5ca811402a042a41c6d7d918462089facf90d
parent 2800 4700524e4329cfe91220355ccb65c954fb18b73e (current diff)
parent 2803 92095a5450c2c8a15d33ede269ddf01dd72df2db (diff)
child 2845 073d04ec6b8bf56bb552293b75ffe65b10369a06
push idunknown
push userunknown
push dateunknown
bugs204092
Resolves bug 204092. Shifted from default (-xO2) to -xO4 optimization level on Solaris.
config/SunOS5.mk
--- a/config/SunOS5.mk
+++ b/config/SunOS5.mk
@@ -90,16 +90,20 @@ OS_CFLAGS		= $(NOMD_OS_CFLAGS)
 #
 ifdef BUILD_NUMBER
 ifndef BUILD_OPT
 OS_CFLAGS		+= -xs
 endif
 endif
 endif
 
+ifdef BUILD_OPT
+OPTIMIZER		= -xO4
+endif
+
 ifeq ($(USE_64),1)
 ifndef INTERNAL_TOOLS
 ifndef NS_USE_GCC
 CC			+= -xarch=v9
 CCC			+= -xarch=v9
 endif
 endif
 COMPILER_TAG		= _64