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

*** 18,27 **** --- 18,28 ---- # # CDDL HEADER END # # + # Copyright 2014 Gary Mills # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # This makefile drives the production of the Neterion Xframe # 10G Ethernet (XGE) driver module in x86 systems
*** 83,94 **** XGE_CFLAGS = $(HAL_CFLAGS) $(TRACE_CFLAGS) $(CCVERBOSE) \ -I$(UTSBASE)/common/io/xge/hal/include \ -I$(UTSBASE)/common/io/xge/hal/xgehal \ -I$(UTSBASE)/common/io/xge/drv -DSOLARIS ! CFLAGS += $(XGE_CFLAGS) -xO4 -xcrossfile -xc99=%all ! CFLAGS64 += $(XGE_CFLAGS) -xO4 -xcrossfile -xc99=%all # # Driver depends on MAC & IP # LDFLAGS += -dy -N misc/mac -N drv/ip --- 84,97 ---- XGE_CFLAGS = $(HAL_CFLAGS) $(TRACE_CFLAGS) $(CCVERBOSE) \ -I$(UTSBASE)/common/io/xge/hal/include \ -I$(UTSBASE)/common/io/xge/hal/xgehal \ -I$(UTSBASE)/common/io/xge/drv -DSOLARIS ! COPTFLAG = $(ADJUST_OPT2) -_cc=-xO4 -_gcc=-O2 ! COPTFLAG64 = $(ADJUST_OPT2) -_cc=-xO4 -_gcc=-O2 ! CFLAGS += $(XGE_CFLAGS) -xcrossfile -xc99=%all ! CFLAGS64 += $(XGE_CFLAGS) -xcrossfile -xc99=%all # # Driver depends on MAC & IP # LDFLAGS += -dy -N misc/mac -N drv/ip