Skip to content

Commit

Permalink
boringssl.sh: patch out setting _WIN32_WINNT
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Nov 6, 2024
1 parent 635f212 commit 77e7ac9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boringssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ _VER="$1"
options+=' -DBUILD_TOOL=OFF'
options+=' -DDISABLE_GO=ON'
options+=' -DDISABLE_PERL=ON'

# Patch out to avoid redefinition errors
sed -i.bak 's/-D_WIN32_WINNT=_WIN32_WINNT_WIN7//g' ./CMakeLists.txt
else
# Patch the build to omit debug info. This results in 50% smaller footprint
# for each ${_BLDDIR}. As of llvm 14.0.6, llvm-strip does an imperfect job
Expand Down

0 comments on commit 77e7ac9

Please sign in to comment.