mcfgthreads: enable cross-compiling on Darwin
using -Werror is problematic in general, remove for all platforms fixes #97214
This commit is contained in:
parent
50dd350c4c
commit
8ad96b7786
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ stdenv.mkDerivation {
|
|||
rm -r "$sourceRoot/debug" "$sourceRoot/release"
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.am --replace '-Werror' ''
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue