From 7cda216d35f223f81fb7492a63548a4d7144acb1 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 12 Dec 2018 13:37:19 +0000 Subject: [PATCH] extra/firefox to 64.0-1 --- extra/firefox/PKGBUILD | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index ef2f97158..d3843a436 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -9,9 +9,10 @@ buildarch=12 highmem=1 +noautobuild=1 pkgname=firefox -pkgver=63.0.3 +pkgver=64.0 pkgrel=1 pkgdesc="Standalone web browser from mozilla.org" arch=(x86_64) @@ -62,6 +63,13 @@ ac_add_options --enable-application=browser ac_add_options --prefix=/usr ac_add_options --enable-release #ac_add_options --enable-hardening +ac_add_options --enable-lto +export MOZ_PGO=1 +export CC=clang +export CXX=clang++ +export AR=llvm-ar +export NM=llvm-nm +export RANLIB=llvm-ranlib # Branding ac_add_options --enable-official-branding @@ -120,6 +128,9 @@ build() { export MOZ_NOSPAM=1 export MOZBUILD_STATE_PATH="$srcdir/mozbuild" + # LTO needs more open files + ulimit -n 4096 + ./mach build ./mach buildsymbols }