diff options
author | Dan Peebles <pumpkin@me.com> | 2018-09-15 16:49:44 -0400 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2018-09-16 02:12:11 -0400 |
commit | 110c2528709ee10466a6b4bee5a2adefe11a0c3f (patch) | |
tree | eb398c8ec993c79ba28756b1c7484b8cc9c730c0 /pkgs/os-specific/darwin/cctools | |
parent | b91ad0e54f6a44737198b8cbcea67467ec991aee (diff) | |
download | nixpkgs-110c2528709ee10466a6b4bee5a2adefe11a0c3f.tar nixpkgs-110c2528709ee10466a6b4bee5a2adefe11a0c3f.tar.gz nixpkgs-110c2528709ee10466a6b4bee5a2adefe11a0c3f.tar.bz2 nixpkgs-110c2528709ee10466a6b4bee5a2adefe11a0c3f.tar.lz nixpkgs-110c2528709ee10466a6b4bee5a2adefe11a0c3f.tar.xz nixpkgs-110c2528709ee10466a6b4bee5a2adefe11a0c3f.tar.zst nixpkgs-110c2528709ee10466a6b4bee5a2adefe11a0c3f.zip |
cctools: support LTO on Darwin
LTO is disabled during bootstrap to keep the bootstrap tools small and avoid unnecessary LLVM rebuilds, but is enabled in the final stdenv stage and should be usable by normal packages.
Diffstat (limited to 'pkgs/os-specific/darwin/cctools')
-rw-r--r-- | pkgs/os-specific/darwin/cctools/port.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/darwin/cctools/port.nix b/pkgs/os-specific/darwin/cctools/port.nix index fff6eaaa5c1..bad17cf6de4 100644 --- a/pkgs/os-specific/darwin/cctools/port.nix +++ b/pkgs/os-specific/darwin/cctools/port.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, autoconf, automake, libtool_2, autoreconfHook -, libcxxabi, libuuid +, libcxxabi, libuuid, llvm , libobjc ? null, maloader ? null , enableDumpNormalizedLibArgs ? false }: @@ -56,7 +56,7 @@ let autoreconfHook ]; buildInputs = [ libuuid ] ++ - stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ]; + stdenv.lib.optionals stdenv.isDarwin [ llvm libcxxabi libobjc ]; patches = [ ./ld-rpath-nonfinal.patch ./ld-ignore-rpath-link.patch |