mcfgthreads: enable cross-compiling on Darwin
using -Werror is problematic in general, remove for all platforms fixes #97214
This commit is contained in:
@@ -18,6 +18,10 @@ stdenv.mkDerivation {
|
|||||||
rm -r "$sourceRoot/debug" "$sourceRoot/release"
|
rm -r "$sourceRoot/debug" "$sourceRoot/release"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile.am --replace '-Werror' ''
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user