Merge pull request #93351 from alyssais/gfan
gfan: fix clang build on non-Darwin
This commit is contained in:
commit
5bb161af08
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "02pihqb1lb76a0xbfwjzs1cd6ay3ldfxsm8dvsbl6qs3vkjxax56";
|
sha256 = "02pihqb1lb76a0xbfwjzs1cd6ay3ldfxsm8dvsbl6qs3vkjxax56";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
patchPhase = stdenv.lib.optionalString stdenv.cc.isClang ''
|
||||||
substituteInPlace Makefile --replace "-fno-guess-branch-probability" ""
|
substituteInPlace Makefile --replace "-fno-guess-branch-probability" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user