mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #133571 from buckley310/ff-enableOfficialBranding
firefox: fix enableOfficialBranding
This commit is contained in:
commit
c9aae11e49
1 changed files with 5 additions and 6 deletions
|
@ -273,7 +273,10 @@ buildStdenv.mkDerivation ({
|
|||
'') + ''
|
||||
# AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286
|
||||
unset AS
|
||||
'';
|
||||
'' + (lib.optionalString enableOfficialBranding ''
|
||||
export MOZILLA_OFFICIAL=1
|
||||
export BUILD_OFFICIAL=1
|
||||
'');
|
||||
|
||||
configureFlags = [
|
||||
"--enable-application=browser"
|
||||
|
@ -325,11 +328,7 @@ buildStdenv.mkDerivation ({
|
|||
cd obj-*
|
||||
'';
|
||||
|
||||
makeFlags = lib.optionals enableOfficialBranding [
|
||||
"MOZILLA_OFFICIAL=1"
|
||||
"BUILD_OFFICIAL=1"
|
||||
]
|
||||
++ lib.optionals ltoSupport [
|
||||
makeFlags = lib.optionals ltoSupport [
|
||||
"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"
|
||||
|
|
Loading…
Reference in a new issue