Print this page
5196 The cw wrapper restricts gcc to -O2
*** 18,27 ****
--- 18,28 ----
#
# CDDL HEADER END
#
#
+ # Copyright 2014 Gary Mills
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libsoftcrypto.a
VERS = .1
*** 54,64 ****
SRCDIR = $(SRC)/lib/pkcs11/libsoftcrypto/common
LIBS = $(DYNLIB) $(LINTLIB)
MAPFILEDIR = ../common
! CFLAGS += -xO4 -xcrossfile
CPPFLAGS += -I$(CRYPTODIR) -I$(UTSDIR) -D_POSIX_PTHREAD_SEMANTICS
ASFLAGS += $(AS_PICFLAGS) -P -D__STDC__ -D_ASM
BIGNUM_FLAGS += -DPSR_MUL
CLEANFILES += arcfour-x86_64.s
LDLIBS += -lcryptoutil -lc
--- 55,67 ----
SRCDIR = $(SRC)/lib/pkcs11/libsoftcrypto/common
LIBS = $(DYNLIB) $(LINTLIB)
MAPFILEDIR = ../common
! COPTFLAG = $(ADJUST_OPT2) -_cc=-xO4 -_gcc=-O2
! COPTFLAG64 = $(ADJUST_OPT2) -_cc=-xO4 -_gcc=-O2
! CFLAGS += -xcrossfile
CPPFLAGS += -I$(CRYPTODIR) -I$(UTSDIR) -D_POSIX_PTHREAD_SEMANTICS
ASFLAGS += $(AS_PICFLAGS) -P -D__STDC__ -D_ASM
BIGNUM_FLAGS += -DPSR_MUL
CLEANFILES += arcfour-x86_64.s
LDLIBS += -lcryptoutil -lc