enable asm for mingw64
This commit is contained in:
parent
8475a5876d
commit
8730803401
@ -111,6 +111,10 @@ AM_CONDITIONAL([HOST_ASM_ELF_X86_64],
|
|||||||
[test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"])
|
[test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"])
|
||||||
AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64],
|
AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64],
|
||||||
[test "x$HOST_ABI" = "xmacosx" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"])
|
[test "x$HOST_ABI" = "xmacosx" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"])
|
||||||
|
AM_CONDITIONAL([HOST_ASM_MASM_X86_64],
|
||||||
|
[test "x$HOST_ABI" = "xmasm" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"])
|
||||||
|
AM_CONDITIONAL([HOST_ASM_MINGW64_X86_64],
|
||||||
|
[test "x$HOST_ABI" = "xmingw64" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"])
|
||||||
|
|
||||||
# Check if time_t is sized correctly
|
# Check if time_t is sized correctly
|
||||||
AC_CHECK_SIZEOF([time_t], [time.h])
|
AC_CHECK_SIZEOF([time_t], [time.h])
|
||||||
|
@ -102,9 +102,6 @@ libcrypto_la_CPPFLAGS += -DOPENSSL_NO_HW_PADLOCK
|
|||||||
if OPENSSL_NO_ASM
|
if OPENSSL_NO_ASM
|
||||||
libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM
|
libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM
|
||||||
else
|
else
|
||||||
if HOST_WIN
|
|
||||||
libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OPENSSLDIR_DEFINED
|
if OPENSSLDIR_DEFINED
|
||||||
|
@ -101,6 +101,7 @@ char buf[1]; getentropy(buf, 1);
|
|||||||
;;
|
;;
|
||||||
*mingw*)
|
*mingw*)
|
||||||
HOST_OS=win
|
HOST_OS=win
|
||||||
|
HOST_ABI=mingw64
|
||||||
BUILD_NC=no
|
BUILD_NC=no
|
||||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D__USE_MINGW_ANSI_STDIO"
|
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D__USE_MINGW_ANSI_STDIO"
|
||||||
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS"
|
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user