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 sun4v unix
# and all sun4v implementation architecture dependent modules.
#
*** 166,176 ****
#
# machine specific optimization, override default in Makefile.master
#
CC_XARCH = -m64 -xarch=sparcvis
AS_XARCH = -xarch=v9v
! COPTIMIZE = -xO3
CCMODE = -Xa
CFLAGS = -xchip=ultra $(CCABS32) $(CCREGSYM)
CFLAGS += $(CC_XARCH)
CFLAGS += $(COPTIMIZE)
--- 167,177 ----
#
# machine specific optimization, override default in Makefile.master
#
CC_XARCH = -m64 -xarch=sparcvis
AS_XARCH = -xarch=v9v
! COPTIMIZE = -_cc=-xO3 -_gcc=-O2
CCMODE = -Xa
CFLAGS = -xchip=ultra $(CCABS32) $(CCREGSYM)
CFLAGS += $(CC_XARCH)
CFLAGS += $(COPTIMIZE)