Print this page
5196 The cw wrapper restricts gcc to -O2
*** 18,27 ****
--- 18,28 ----
#
# CDDL HEADER END
#
#
+ # Copyright 2014 Gary Mills
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
PLATFORM = sun4v
*** 32,42 ****
include $(SRC)/lib/Makefile.lib
AS_CPPFLAGS += -D__STDC__ -D_ASM -DPIC -D_REENTRANT -D$(MACH)
ASFLAGS += $(AS_PICFLAGS) -P
! CFLAGS += $(CCVERBOSE) -xO5 -xbuiltin=%all -dalign
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CPPFLAGS += -D$(PLATFORM) -I$(CRYPTODIR) -I$(UTSDIR) \
--- 33,45 ----
include $(SRC)/lib/Makefile.lib
AS_CPPFLAGS += -D__STDC__ -D_ASM -DPIC -D_REENTRANT -D$(MACH)
ASFLAGS += $(AS_PICFLAGS) -P
! COPTFLAG = $(ADJUST_OPT2) -_cc=-xO5 -_gcc=-O2
! COPTFLAG64 = $(ADJUST_OPT2) -_cc=-xO5 -_gcc=-O2
! CFLAGS += $(CCVERBOSE) -xbuiltin=%all -dalign
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CPPFLAGS += -D$(PLATFORM) -I$(CRYPTODIR) -I$(UTSDIR) \