Skip to content

Commit 77e7ac9

Browse files
committed
boringssl.sh: patch out setting _WIN32_WINNT
1 parent 635f212 commit 77e7ac9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boringssl.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ _VER="$1"
106106
options+=' -DBUILD_TOOL=OFF'
107107
options+=' -DDISABLE_GO=ON'
108108
options+=' -DDISABLE_PERL=ON'
109+
110+
# Patch out to avoid redefinition errors
111+
sed -i.bak 's/-D_WIN32_WINNT=_WIN32_WINNT_WIN7//g' ./CMakeLists.txt
109112
else
110113
# Patch the build to omit debug info. This results in 50% smaller footprint
111114
# for each ${_BLDDIR}. As of llvm 14.0.6, llvm-strip does an imperfect job

0 commit comments

Comments
 (0)