From f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 28 Mar 2016 11:31:21 +0200 Subject: [PATCH] chromium: Link using gold linker flags I originally wanted to do this a long time (a31301d) but IIRC back then it didn't compile. Nowadays with the splitup of the gold linking flags and the binutils integration, it's merely just a switch to flip, so let's do that. Only tested it by building against the current Chromium stable version on 64bit, because right now builds on Hydra seem to time out (because of this?) anyway so we have nothing to lose here. The linking time was hereby reduced from >30 minutes (I didn't measure it exactly but looked half an hour later to the build progress and it was *still* linking) to about a few seconds, which I guess is even though the measurement is quite bogus a tremendous improvement nonetheless. Signed-off-by: aszlig --- pkgs/applications/networking/browsers/chromium/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 247156a9470..5494b77b807 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -154,8 +154,8 @@ let gypFlags = mkGypFlags (gypFlagsUseSystemLibs // { linux_use_bundled_binutils = false; linux_use_bundled_gold = false; - linux_use_gold_binary = false; - linux_use_gold_flags = false; + linux_use_gold_flags = true; + proprietary_codecs = false; use_sysroot = false; use_gnome_keyring = gnomeKeyringSupport;