6
0

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

Merged
jengelh merged 1 commits from rhabacker/mingw64-headers:master into master 2025-06-04 13:18:17 +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 \
rhabacker marked this conversation as resolved Outdated

>=

`>=`

This would set UCRT to Tumbleweed as the default for all packages. Can there be problems with the mingwxx-binutils, mingwxx-gcc or other package, because maybe something needs to be adjusted there as well? 16.0 is still a work in progress, so we can't break anything there. I would postpone this until later.

This would set UCRT to Tumbleweed as the default for all packages. Can there be problems with the mingwxx-binutils, mingwxx-gcc or other package, because maybe something needs to be adjusted there as well? 16.0 is still a work in progress, so we can't break anything there. I would postpone this until later.

If it's not good enough for Tumbleweed, it isn't good enough for Leap16.

If it's not good enough for Tumbleweed, it isn't good enough for Leap16.
--with-default-msvcrt=%{?_mingw64_crt:%{_mingw64_crt}}%{!?_mingw64_crt:msvcrt}
%make_build
%install