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

*** 21,30 **** --- 21,31 ---- # # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2012, Joyent, Inc. All rights reserved. # Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. # Copyright 2013 Garrett D'Amore <garrett@damore.org> + # Copyright 2014 Gary Mills # # Copyright 2011 Nexenta Systems, Inc. All rights reserved. # Use is subject to license terms. #
*** 1248,1259 **** _Q_sqrt.o \ _Q_stoq.o \ _Q_sub.o $(QIL:%=pics/%) := CFLAGS += $(LIBCDIR)/$(MACH)/fp/__quad.il ! pics/_Q%.o := sparc_COPTFLAG = -xO4 -dalign ! pics/__quad%.o := sparc_COPTFLAG = -xO4 -dalign # large-file-aware components that should be built large $(COMSYSOBJS64:%=pics/%) := \ CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 --- 1249,1260 ---- _Q_sqrt.o \ _Q_stoq.o \ _Q_sub.o $(QIL:%=pics/%) := CFLAGS += $(LIBCDIR)/$(MACH)/fp/__quad.il ! pics/_Q%.o := sparc_COPTFLAG = -_cc=-xO4 -_gcc=-O2 -dalign ! pics/__quad%.o := sparc_COPTFLAG = -_cc=-xO4 -_gcc=-O2 -dalign # large-file-aware components that should be built large $(COMSYSOBJS64:%=pics/%) := \ CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
*** 1285,1295 **** $(PORTI18N_COND:%=pics/%) := \ CPPFLAGS += -D_WCS_LONGLONG # Files which need extra optimization ! pics/getenv.o := sparc_COPTFLAG = -xO4 .KEEP_STATE: all: $(LIBS) $(LIB_PIC) --- 1286,1296 ---- $(PORTI18N_COND:%=pics/%) := \ CPPFLAGS += -D_WCS_LONGLONG # Files which need extra optimization ! pics/getenv.o := sparc_COPTFLAG = -_cc=-xO4 -_gcc=-O2 .KEEP_STATE: all: $(LIBS) $(LIB_PIC)