Skip to content

Commit 05a88b0

Browse files
committed
Modify CMAKE_FLAGS for mingw32 in windows.yml
Updated CMAKE_FLAGS for mingw32 in the workflow to use -fexcess-precision=standard instead of -ffloat-store.
1 parent 14e1637 commit 05a88b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,11 +491,11 @@ jobs:
491491
fail-fast: false
492492
matrix:
493493
include:
494-
- { icon: '⬛', sys: mingw32, osal: glib, CMAKE_FLAGS: '-DCMAKE_C_FLAGS="-mfpmath=387 -ffloat-store" -DCMAKE_CXX_FLAGS="-mfpmath=387 -ffloat-store"' }
494+
- { icon: '⬛', sys: mingw32, osal: glib, CMAKE_FLAGS: '-DCMAKE_C_FLAGS="-mfpmath=387 -fexcess-precision=standard" -DCMAKE_CXX_FLAGS="-mfpmath=387 -fexcess-precision=standard"' }
495495
- { icon: '🟦', sys: mingw64, osal: glib, CMAKE_FLAGS: '' }
496496
- { icon: '🟨', sys: ucrt64, osal: glib, CMAKE_FLAGS: '' }
497497
- { icon: '🟧', sys: clang64, osal: glib, CMAKE_FLAGS: '' }
498-
- { icon: '⬛', sys: mingw32, osal: cpp11, CMAKE_FLAGS: '-DCMAKE_C_FLAGS="-mfpmath=sse -ffloat-store" -DCMAKE_CXX_FLAGS="-mfpmath=sse -ffloat-store"' }
498+
- { icon: '⬛', sys: mingw32, osal: cpp11, CMAKE_FLAGS: '-DCMAKE_C_FLAGS="-mfpmath=sse -fexcess-precision=standard" -DCMAKE_CXX_FLAGS="-mfpmath=sse -fexcess-precision=standard"' }
499499
- { icon: '🟦', sys: mingw64, osal: cpp11, CMAKE_FLAGS: '' }
500500
- { icon: '🟨', sys: ucrt64, osal: cpp11, CMAKE_FLAGS: '' }
501501
- { icon: '🟧', sys: clang64, osal: cpp11, CMAKE_FLAGS: '' }

0 commit comments

Comments
 (0)