mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
bfs: fix build on darwin
This commit is contained in:
parent
059727c23d
commit
241d2d4d72
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Disable LTO on darwin. See https://github.com/NixOS/nixpkgs/issues/19098
|
||||
preConfigure = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile --replace "-flto" ""
|
||||
substituteInPlace GNUMakefile --replace "-flto=auto" ""
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
Loading…
Reference in New Issue
Block a user