Commit graph

6 commits

Author SHA1 Message Date
Sergei Trofimovich c6132dcf23 pkgsCross.mingwW64.windows.mcfgthreads: add gcc13 compatible version
Upstream `gcc-13` merged `mcfgthreads` support with a caveat: it's
headers interface is not compatible with the patch `nixpkgs` was
carrying in `gcc-12` and before.

To keep both new (`gcc13`) and old (`_pre_gcc13`) version I held back
previous `windows.mcfgthreads` attribute as
`windows.mcfgthreads_pre_gcc_13`. It is used for `gcc` before 13.

The change fixes the build of `pkgsCross.mingwW64.stdenv` itself and
example program:

    $ nix build --impure --expr 'with import ./. {}; pkgsCross.mingwW64.re2c.override { stdenv = pkgsCross.mingwW64.gcc11Stdenv; }'
2023-06-08 07:43:56 +01:00
John Ericson bc1f7c5d7f mcfgthreads: 9570e5ca -> 10y2x3x6
The latest version non longer has `-Werror` (at our request; thanks!) so
we no longer need to patch it out.
2021-03-12 15:54:05 +00:00
sternenseemann 81e5833fd1 mcfgthreads: fix syntax
PR #115603 / 8ad96b7786 introduced a
syntax error by introducing an '' inside an indented string and thus a
syntax error. Was merged despite the failing ofborg check.
2021-03-11 23:59:14 +01:00
Michael Roitzsch 8ad96b7786 mcfgthreads: enable cross-compiling on Darwin
using -Werror is problematic in general, remove for all platforms
fixes #97214
2021-03-09 21:23:19 +01:00
John Ericson 04cb05d20c gcc: Build MinGW stage two with threading library
Currently this is set up to be mcfgthreads, but it could be something
else instead.
2019-11-11 11:02:38 -05:00
John Ericson 06c5e811e6 mcfgthreads: Init from git 2019-11-11 00:25:24 -05:00