www-client/firefox: add explicit Clang and LTO support
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 23 Sep 2018 00:51:42 +0000 (02:51 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 23 Sep 2018 01:30:35 +0000 (03:30 +0200)
commit59c9e92b639712d4c37ece540582db83afdc8608
treeb1a886e07f341d6c18656c68f074c8f58c7b092a
parentfc30f6782e583e69f6cf92ab72fc959ed54ac6cf
www-client/firefox: add explicit Clang and LTO support

- Set USE=lto to enable Link Time Optimization (LTO). It works with
  either GCC or Clang.

- When you want to use Clang to build Firefox you now have to set
  USE=clang. If not set, GCC will be used.

- Using Clang will require lld linker provided by sys-devel/lld.

Closes: https://bugs.gentoo.org/666580
Closes: https://bugs.gentoo.org/663846
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
www-client/firefox/files/firefox-60.0-do-not-force-lld.patch [new file with mode: 0644]
www-client/firefox/files/firefox-60.0-sandbox-lto.patch [new file with mode: 0644]
www-client/firefox/firefox-62.0.2.ebuild
www-client/firefox/metadata.xml