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

*** 17,26 **** --- 17,27 ---- # 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. # #
*** 51,61 **** # # Overrides. # CFLAGS += $(CCVERBOSE) $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile ! $(RELEASE_BUILD)COPTIMIZE = -xO5 LDFLAGS += -dy -N misc/mac INC_PATH += -I$(UTSBASE)/common/io/bpf # # For now, disable these lint checks; maintainers should endeavor --- 52,62 ---- # # Overrides. # CFLAGS += $(CCVERBOSE) $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile ! $(RELEASE_BUILD)COPTIMIZE = -_cc=-xO5 -_gcc=-O2 LDFLAGS += -dy -N misc/mac INC_PATH += -I$(UTSBASE)/common/io/bpf # # For now, disable these lint checks; maintainers should endeavor