mcfgthreads: enable cross-compiling on Darwin

using -Werror is problematic in general, remove for all platforms
fixes #97214
This commit is contained in:
Michael Roitzsch 2021-03-09 20:16:22 +01:00
parent 50dd350c4c
commit 8ad96b7786

View file

@ -18,6 +18,10 @@ stdenv.mkDerivation {
rm -r "$sourceRoot/debug" "$sourceRoot/release"
'';
postPatch = ''
substituteInPlace Makefile.am --replace '-Werror' ''
'';
nativeBuildInputs = [
autoreconfHook
];