17
0

1 Commits

Author SHA256 Message Date
6fc2bce094 Add support to use a different crt (boo#1243096)
By specifying %_mingw64_crt <crt> in the obs project config
a different c runtime library can be used for building this
package.
2025-05-16 10:51:40 +02:00
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 12 20:26:43 UTC 2025 - Ralf Habacker <ralf.habacker@freenet.de>
- Add support to use a different crt (boo#1243096)
By specifying %_mingw64_crt <crt> in the obs project config
a different c runtime library can be used for building this
package.
-------------------------------------------------------------------
Mon Oct 7 10:21:51 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -54,7 +54,9 @@ an actual pthread implementation (like winpthreads) is installed.
%autosetup -n mingw-w64-v%version/mingw-w64-headers -p2
%build
%_mingw64_configure --enable-sdk=all --with-default-msvcrt=msvcrt
%_mingw64_configure \
--enable-sdk=all \
--with-default-msvcrt=%{?_mingw64_crt:%{_mingw64_crt}}%{!?_mingw64_crt:msvcrt}
%make_build
%install