diff --git a/PKGBUILD b/PKGBUILD index 4a61e0a..1ca45b1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -145,6 +145,7 @@ ac_add_options --enable-application=browser mk_add_options MOZ_OBJDIR=${PWD@Q}/obj ac_add_options --prefix=/usr +ac_add_options --enable-linker=lld ac_add_options --enable-release ac_add_options --enable-hardening ac_add_options --enable-rust-simd @@ -159,6 +160,7 @@ export OBJCOPY='/usr/bin/llvm-objcopy' export RANLIB=llvm-ranlib export STRIP=llvm-strip + # Branding ac_add_options --enable-update-channel=release ac_add_options --with-app-name=${pkgname} @@ -264,8 +266,8 @@ build() { # -fno-plt with cross-LTO causes obscure LLVM errors # LLVM ERROR: Function Import: link error - # CFLAGS="${CFLAGS/-fno-plt/}" - # CXXFLAGS="${CXXFLAGS/-fno-plt/}" + CFLAGS="${CFLAGS/-fno-plt/}" + CXXFLAGS="${CXXFLAGS/-fno-plt/}" # Do 3-tier PGO echo "Building instrumented browser..."