Print this page
5196 The cw wrapper restricts gcc to -O2

@@ -17,10 +17,11 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 #
+# Copyright 2014 Gary Mills
 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).

@@ -53,11 +54,11 @@
 #
 # Overrides
 #
 LINTTAGS  += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED
 
-#COPTIMIZE = -xO4
+#COPTIMIZE = -_cc=-xO4 -_gcc=-O2
 
 INC_PATH  += -I$(UTSBASE)/common/io/myri10ge -I$(UTSBASE)/common/io/myri10ge/firmware
 
 CFLAGS    += -DSOLARIS_S11