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 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 #       This makefile drives the production of the ARCFOUR KEF provider.
 #

@@ -60,12 +61,14 @@
 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
 
 #
 # Overrides
 #
+COPTFLAG        = $(ADJUST_OPT2) -_cc=-xO4 -_gcc=-O2
+COPTFLAG64      = $(ADJUST_OPT2) -_cc=-xO4 -_gcc=-O2
 CPPFLAGS        += -I$(COM_DIR)
-CFLAGS          += -xO4 -xcrossfile
+CFLAGS          += -xcrossfile
 CLEANFILES      += arcfour-x86_64.s
 
 #
 #       Default build targets.
 #