Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlateralusX <lateralusx.github@gmail.com>2018-10-17 17:07:29 +0300
committerlateralusX <lateralusx.github@gmail.com>2018-10-17 17:50:01 +0300
commit51d641c8895b0c658bb3e1e5455dbd24759cdae8 (patch)
treea40b5c03817a86dd20787a7ac64670af6e167daa
parent134e5e64b336574ab07dd8912724378594b7680c (diff)
Use NASM for all Windows builds (including cygwin).
-rw-r--r--crypto/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index f034e9e5..d550b491 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -8,7 +8,7 @@ if(NOT OPENSSL_NO_ASM)
set(PERLASM_STYLE macosx)
set(ASM_EXT S)
enable_language(ASM)
- elseif(UNIX)
+ elseif(UNIX AND NOT CYGWIN)
if (${ARCH} STREQUAL "aarch64")
# The "armx" Perl scripts look for "64" in the style argument
# in order to decide whether to generate 32- or 64-bit asm.
@@ -25,7 +25,7 @@ if(NOT OPENSSL_NO_ASM)
enable_language(ASM)
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -Wa,--noexecstack")
else()
- if (CMAKE_CL_64)
+ if (CMAKE_CL_64 OR (CYGWIN AND ${ARCH} STREQUAL "x86_64"))
message("Using nasm")
set(PERLASM_STYLE nasm)
else()