mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
firefox: remove unnecessary make flags and LD_FLAGS
Since we are using LLVM stdenv when enabling LTO, there are no need to manually specify them.
This commit is contained in:
parent
67a50ee79f
commit
c2409db926
1 changed files with 1 additions and 12 deletions
|
@ -174,10 +174,6 @@ buildStdenv.mkDerivation ({
|
||||||
AVFoundation MediaToolbox CoreLocation
|
AVFoundation MediaToolbox CoreLocation
|
||||||
Foundation libobjc AddressBook cups ];
|
Foundation libobjc AddressBook cups ];
|
||||||
|
|
||||||
NIX_LDFLAGS = lib.optionalString ltoSupport ''
|
|
||||||
-rpath ${llvmPackages.libunwind.out}/lib
|
|
||||||
'';
|
|
||||||
|
|
||||||
MACH_USE_SYSTEM_PYTHON = "1";
|
MACH_USE_SYSTEM_PYTHON = "1";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -297,14 +293,7 @@ buildStdenv.mkDerivation ({
|
||||||
cd obj-*
|
cd obj-*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = lib.optionals ltoSupport [
|
makeFlags = extraMakeFlags;
|
||||||
"AR=${buildStdenv.cc.bintools.bintools}/bin/llvm-ar"
|
|
||||||
"LLVM_OBJDUMP=${buildStdenv.cc.bintools.bintools}/bin/llvm-objdump"
|
|
||||||
"NM=${buildStdenv.cc.bintools.bintools}/bin/llvm-nm"
|
|
||||||
"RANLIB=${buildStdenv.cc.bintools.bintools}/bin/llvm-ranlib"
|
|
||||||
"STRIP=${buildStdenv.cc.bintools.bintools}/bin/llvm-strip"
|
|
||||||
]
|
|
||||||
++ extraMakeFlags;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
doCheck = false; # "--disable-tests" above
|
doCheck = false; # "--disable-tests" above
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue