From 9f80cc167274b946ff2ec583d28929cd4e79e382 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 24 Sep 2018 00:45:12 +0000 Subject: [PATCH] sparc has memcmp and cpuid --- crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc | 1 + .../external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc b/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc index 933f4d89e289..8039a5bee8b2 100644 --- a/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc +++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc @@ -2,6 +2,7 @@ .PATH.c: ${.PARSEDIR} CPUID = yes CPUID_SRCS += sparccpuid.S sparccap.c +CRYPTOCPPFLAGS += -DOPENSSL_CPUID_OBJ .if ${MACHINE} == "sparc64" CPUID_SRCS += sparcv9-mont.S sparcv9a-mont.S diff --git a/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc b/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc index f66cad970a87..56c022c0037e 100644 --- a/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc +++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc @@ -1,6 +1,7 @@ .PATH.S: ${.PARSEDIR} CPUID_SRCS = sparcv9cap.c sparccpuid.S sparcv9-mont.S sparcv9a-mont.S CPUID_SRCS += sparct4-mont.S vis3-mont.S +CRYPTOCPPFLAGS += -DOPENSSL_CPUID_OBJ CPUID = yes #CPPFLAGS += -DOPENSSL_BN_ASM_MONT .include "../../crypto.inc"