:: commit a7351434f6a44852d40edb0d92edf455d0892e9f

Kamila Szewczyk <27734421+kspalaiologos@users.noreply.github.com> — 2023-04-09 10:41

parents: 2c8100aa59

disable -march=native for releases

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 819e0d8..5d7b0e6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -54,9 +54,9 @@ jobs:
       fail-fast: false
       matrix:
         target:
-          - [ "x86_64-linux", "--enable-static-exe", "" ]
-          - [ "x86_64", "CC=x86_64-w64-mingw32-gcc --host x86_64-w64-mingw32 --enable-static-exe", "gcc-mingw-w64-x86-64" ]
-          - [ "i686", "CC=i686-w64-mingw32-gcc --host i686-w64-mingw32 --enable-static-exe", "gcc-mingw-w64-i686" ]
+          - [ "x86_64-linux", "--enable-static-exe --disable-arch-native", "" ]
+          - [ "x86_64", "CC=x86_64-w64-mingw32-gcc --host x86_64-w64-mingw32 --enable-static-exe --disable-arch-native", "gcc-mingw-w64-x86-64" ]
+          - [ "i686", "CC=i686-w64-mingw32-gcc --host i686-w64-mingw32 --enable-static-exe --disable-arch-native", "gcc-mingw-w64-i686" ]
     steps:
       - name: Download source package artifact
         uses: actions/download-artifact@v3
tab: 248 wrap: offon