generate opensslconf.h based on host cpu architecture
This commit is contained in:
@@ -44,4 +44,18 @@ noinst_HEADERS += compat/sys/time.h
|
||||
noinst_HEADERS += compat/sys/types.h
|
||||
noinst_HEADERS += compat/sys/uio.h
|
||||
|
||||
noinst_HEADERS += arch/aarch64/opensslconf.h
|
||||
noinst_HEADERS += arch/alpha/opensslconf.h
|
||||
noinst_HEADERS += arch/amd64/opensslconf.h
|
||||
noinst_HEADERS += arch/arm/opensslconf.h
|
||||
noinst_HEADERS += arch/hppa/opensslconf.h
|
||||
noinst_HEADERS += arch/i386/opensslconf.h
|
||||
noinst_HEADERS += arch/m88k/opensslconf.h
|
||||
noinst_HEADERS += arch/mips64/opensslconf.h
|
||||
noinst_HEADERS += arch/powerpc/opensslconf.h
|
||||
noinst_HEADERS += arch/powerpc64/opensslconf.h
|
||||
noinst_HEADERS += arch/riscv64/opensslconf.h
|
||||
noinst_HEADERS += arch/sh/opensslconf.h
|
||||
noinst_HEADERS += arch/sparc64/opensslconf.h
|
||||
|
||||
include_HEADERS = tls.h
|
||||
|
15
include/openssl/opensslconf.h.in
Normal file
15
include/openssl/opensslconf.h.in
Normal file
@@ -0,0 +1,15 @@
|
||||
#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
|
||||
#define __attribute__(a)
|
||||
#endif
|
||||
|
||||
#if defined(LIBRESSL_INTERNAL) && !defined(LIBRESSL_NAMESPACE)
|
||||
# define LCRYPTO_UNUSED(x)
|
||||
# define LCRYPTO_USED(x)
|
||||
# define LCRYPTO_ALIAS1(pre, x)
|
||||
# define LCRYPTO_ALIAS(x)
|
||||
|
||||
# define LSSL_UNUSED(x)
|
||||
# define LSSL_USED(x)
|
||||
# define LSSL_ALIAS(x)
|
||||
#endif /* LIBRESSL_INTERNAL && !LIBRESSL_NAMESPACE */
|
||||
|
Reference in New Issue
Block a user