Skip to content

Commit

Permalink
NO ASM?
Browse files Browse the repository at this point in the history
  • Loading branch information
perklet committed Dec 31, 2023
1 parent 8a54f2d commit 0761a5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
mingw-w64-x86_64-gcc
mingw-w64-x86_64-go
- name: Setup tmate session for debugging
uses: mxschmitt/action-tmate@v3

- name: Copy and patch
shell: msys2 {0}
run: ./win/build.sh

# - name: Setup tmate session for debugging
# uses: mxschmitt/action-tmate@v3
#
- uses: ilammy/msvc-dev-cmd@v1

- name: Generate lib files
Expand Down
2 changes: 1 addition & 1 deletion win/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ patch -p1 < $patchfile
sed -i 's/-ggdb//g' CMakeLists.txt
sed -i 's/-Werror//g' CMakeLists.txt

cmake -G "Ninja" -S . -B lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc.exe -DCMAKE_POSITION_INDEPENDENT_CODE=on
cmake -G "Ninja" -S . -B lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc.exe -DOPENSSL_NO_ASM
ninja -C lib crypto ssl
mv lib/crypto/libcrypto.a lib/libcrypto.a
mv lib/ssl/libssl.a lib/libssl.a
Expand Down

0 comments on commit 0761a5c

Please sign in to comment.