diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-03-28 11:31:21 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-03-28 11:41:13 +0200 |
commit | f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4 (patch) | |
tree | b0441ea009e93438999661f4310927023c57c713 /pkgs/applications/networking/browsers | |
parent | d0aadb0c91b6389be1643402bc987f25c8a64b2d (diff) | |
download | nixlib-f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4.tar nixlib-f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4.tar.gz nixlib-f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4.tar.bz2 nixlib-f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4.tar.lz nixlib-f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4.tar.xz nixlib-f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4.tar.zst nixlib-f9fff51c2af672e71c2f713fb9d8cabcbea8d4e4.zip |
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r-- | pkgs/applications/networking/browsers/chromium/common.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 247156a94701..5494b77b807c 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; |