5
0

Add support to use a different crt (boo#1243096) #2

Merged
jengelh merged 1 commits from rhabacker/mingw32-headers:master into master 2025-06-04 13:18:08 +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 %_mingw32_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
%_mingw32_configure --enable-sdk=all --with-default-msvcrt=msvcrt
%_mingw32_configure \
--enable-sdk=all \
--with-default-msvcrt=%{?_mingw32_crt:%{_mingw32_crt}}%{!?_mingw32_crt:msvcrt}
%make_build
%install