Files
MINGW-packages/mingw-w64-python-scipy/002-no-long-double-64.patch
Christoph Reiter 8fcdafb65b python-scipy: don't set long-double-64
According to https://github.com/msys2/MINGW-packages/issues/12409
this leads to errors/crashes.

It also isn't there in the setuptools build.
2022-08-03 08:16:30 +02:00

11 lines
610 B
Diff

--- scipy-1.9.0/scipy/meson.build.orig 2022-08-02 08:50:49.182475300 +0200
+++ scipy-1.9.0/scipy/meson.build 2022-08-03 08:08:17.971413600 +0200
@@ -10,7 +10,6 @@
add_global_link_arguments(gcc_link_args, language: ['c', 'cpp'])
# Force gcc to float64 long doubles for compatibility with MSVC
# builds, for C only.
- add_global_arguments('-mlong-double-64', language: 'c')
# Make fprintf("%zd") work (see https://github.com/rgommers/scipy/issues/118)
add_global_arguments('-D__USE_MINGW_ANSI_STDIO=1', language: ['c', 'cpp'])
# Manual add of MS_WIN64 macro when not using MSVC.