Print this page
5196 The cw wrapper restricts gcc to -O2
*** 21,30 ****
--- 21,31 ----
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2013 Andrew Stormont. All rights reserved.
+ # Copyright 2014 Gary Mills
#
# This makefile contains the common definitions for the sun4u unix
# and all sun4u implementation architecture dependent modules.
#
*** 189,199 ****
#
# machine specific optimization, override default in Makefile.master
#
CC_XARCH = -m64 -xarch=sparcvis
AS_XARCH = -xarch=v9a
! COPTIMIZE = -xO3
CCMODE = -Xa
CFLAGS = -xchip=ultra $(CCABS32) $(CCREGSYM)
CFLAGS += $(CC_XARCH)
CFLAGS += $(COPTIMIZE)
--- 190,200 ----
#
# machine specific optimization, override default in Makefile.master
#
CC_XARCH = -m64 -xarch=sparcvis
AS_XARCH = -xarch=v9a
! COPTIMIZE = -_cc=-xO3 -_gcc=-O2
CCMODE = -Xa
CFLAGS = -xchip=ultra $(CCABS32) $(CCREGSYM)
CFLAGS += $(CC_XARCH)
CFLAGS += $(COPTIMIZE)