Fix windows build and update BoringSSL to 2587c4974dbe9872451151c8e975f58567a1ce0d (#279)

* Update vendoring script

* Update BoringSSL to 2587c4974dbe9872451151c8e975f58567a1ce0d
This commit is contained in:
Cory Benfield authored and GitHub committed 2024-10-17 12:26:13 +00:00
1 parent 4324b40570
commit 4518e5e680
7 files changed
+32 -13

No files matched your search

+9
View File
@@ -241,6 +241,15 @@ echo "REMOVING libssl"
rm -rf "ssl"
)
echo "DISABLING assembly on x86 Windows"
(
# x86 Windows builds require nasm for acceleration. SwiftPM can't do that right now,
# so we disable the assembly.
cd "$DSTROOT"
gsed -i "/#define OPENSSL_HEADER_BASE_H/a#if defined(_WIN32) && (defined(__x86_64) || defined(_M_AMD64) || defined(_M_X64) || defined(__x86) || defined(__i386) || defined(__i386__) || defined(_M_IX86))\n#define OPENSSL_NO_ASM\n#endif" "include/openssl/base.h"
)
mangle_symbols
echo "RENAMING header files"