diff options
author | Alan Pearce <alan@alanpearce.eu> | 2023-11-15 17:20:29 +0100 |
---|---|---|
committer | Alan Pearce <alan@alanpearce.eu> | 2023-11-15 17:20:29 +0100 |
commit | 241d2d4d72380ecd674aff1daa8158cfb4ea1f58 (patch) | |
tree | d0bb6a838c38ef60a8ffd40abd37fa27591b3bf0 | |
parent | 059727c23d9da7e02e00da5d24ba4eaf722725aa (diff) | |
download | nixpkgs-241d2d4d72380ecd674aff1daa8158cfb4ea1f58.tar nixpkgs-241d2d4d72380ecd674aff1daa8158cfb4ea1f58.tar.gz nixpkgs-241d2d4d72380ecd674aff1daa8158cfb4ea1f58.tar.bz2 nixpkgs-241d2d4d72380ecd674aff1daa8158cfb4ea1f58.tar.lz nixpkgs-241d2d4d72380ecd674aff1daa8158cfb4ea1f58.tar.xz nixpkgs-241d2d4d72380ecd674aff1daa8158cfb4ea1f58.tar.zst nixpkgs-241d2d4d72380ecd674aff1daa8158cfb4ea1f58.zip |
bfs: fix build on darwin
-rw-r--r-- | pkgs/tools/system/bfs/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/bfs/default.nix b/pkgs/tools/system/bfs/default.nix index 757e6bcd9dd..17f6af921c7 100644 --- a/pkgs/tools/system/bfs/default.nix +++ b/pkgs/tools/system/bfs/default.nix @@ -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)" ]; |