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. # # # This makefile drives the production of the mac driver
*** 56,66 **** # # Overrides. # CFLAGS += $(CCVERBOSE) $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile ! $(RELEASE_BUILD)COPTIMIZE = -xO5 LDFLAGS += -dy INC_PATH += -I$(UTSBASE)/common/io/bpf LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN --- 57,67 ---- # # Overrides. # CFLAGS += $(CCVERBOSE) $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile ! $(RELEASE_BUILD)COPTIMIZE = -_cc=-xO5 -_gcc=-O2 LDFLAGS += -dy INC_PATH += -I$(UTSBASE)/common/io/bpf LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN