mirror of
https://github.com/depler/curl-impersonate-win.git
synced 2025-08-08 11:29:36 +00:00
code
This commit is contained in:
@@ -5,7 +5,7 @@ set ROOT=%~dp0
|
||||
|
||||
cd %ROOT%boringssl
|
||||
rmdir /s /q lib
|
||||
cmake.exe -G "Ninja" -S . -B lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc.exe -DCMAKE_C_FLAGS="-Wno-error=stringop-overflow= -Wno-error=array-bounds"
|
||||
cmake.exe -G "Ninja" -S . -B lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc.exe
|
||||
ninja.exe -C lib crypto ssl
|
||||
move /y lib\crypto\libcrypto.a lib\libcrypto.a
|
||||
move /y lib\ssl\libssl.a lib\libssl.a
|
||||
|
@@ -1,6 +1,9 @@
|
||||
set patch=c:\msys64\usr\bin\patch.exe
|
||||
set sed=c:\msys64\usr\bin\sed.exe
|
||||
|
||||
cd %~dp0boringssl
|
||||
%patch% -p1 < %~dp0patch\boringssl-old-ciphers.patch
|
||||
%sed% -i 's/-ggdb//g' CMakeLists.txt
|
||||
%sed% -i 's/-Werror//g' CMakeLists.txt
|
||||
|
||||
pause
|
Reference in New Issue
Block a user