1
0
mirror of https://aur.archlinux.org/firedragon.git synced 2024-12-26 12:44:21 +00:00

Still need lld to build successfully

This commit is contained in:
dr460nf1r3 2022-10-19 12:29:36 +02:00
parent ce505d3e35
commit 7117da13c8
No known key found for this signature in database
GPG Key ID: CB0F39958FA44FA8
2 changed files with 50 additions and 50 deletions

View File

@ -1,7 +1,7 @@
pkgbase = firedragon
pkgdesc = Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE
pkgver = 106.0
pkgrel = 1
pkgrel = 2
url = https://gitlab.com/dr460nf1r3/settings/
install = firedragon.install
arch = x86_64
@ -32,6 +32,7 @@ pkgbase = firedragon
makedepends = git
makedepends = binutils
makedepends = dump_syms
makedepends = lld
makedepends = wasi-compiler-rt>13
makedepends = wasi-libc>=1:0+258+30094b6
makedepends = wasi-libc++>13

View File

@ -1,5 +1,5 @@
# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Contibutor: Peter Jung <admin@ptr1337.dev>
# Contributor: Peter Jung <admin@ptr1337.dev>
# Contributor: vnepogodin
# Contributor: torvic9 AT mailbox DOT org
# Contributor: lsf
@ -7,7 +7,7 @@
pkgname=firedragon
_pkgname=FireDragon
pkgver=106.0
pkgrel=1
pkgrel=2
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
arch=(x86_64 x86_64_v3 aarch64)
backup=('usr/lib/firedragon/firedragon.cfg'
@ -17,7 +17,7 @@ url=https://gitlab.com/dr460nf1r3/settings/
depends=(gtk3 libxt mime-types dbus-glib nss ttf-font libpulse ffmpeg)
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
autoconf2.13 rust clang llvm jack nodejs cbindgen nasm mold
python-setuptools python-zstandard git binutils dump_syms
python-setuptools python-zstandard git binutils dump_syms lld
'wasi-compiler-rt>13' 'wasi-libc>=1:0+258+30094b6' 'wasi-libc++>13' 'wasi-libc++abi>13' pciutils) # pciutils: only to avoid some PGO warning
optdepends=('firejail-git: Sandboxing the browser using the included profiles'
'profile-sync-daemon: Load the browser profile into RAM'
@ -133,7 +133,7 @@ ac_add_options --disable-updater
ac_add_options --with-wasi-sysroot=/usr/share/wasi-sysroot
END
if [[ $CARCH == 'aarch64' ]]; then
if [[ $CARCH == 'aarch64' ]]; then
cat >>../mozconfig <<END
# taken from manjaro build:
ac_add_options --enable-optimize="-g0 -O2"
@ -150,7 +150,7 @@ END
# patch -Np1 -i "${_librewolf_patches_dir}"/arm.patch # not required anymore?
# patch -Np1 -i ../${pkgver}-${pkgrel}_build-arm-libopus.patch
else
else
cat >>../mozconfig <<END
# probably not needed, enabled by default?
@ -162,7 +162,7 @@ ac_add_options --disable-elf-hack
# might help with failing x86_64 builds?
export LDFLAGS+=" -Wl,--no-keep-memory"
END
fi
fi
# Upstream patches from gentoo
# PGO improvements
@ -248,7 +248,6 @@ fi
cp -r "${srcdir}"/common/source_files/* ./
}
build() {
cd firefox-"$pkgver"
@ -321,9 +320,9 @@ END
fi
# cat >>.mozconfig <<END
# ac_add_options --enable-linker=lld
# ac_add_options --disable-bootstrap
# END
# ac_add_options --enable-linker=lld
# ac_add_options --disable-bootstrap
# END
./mach build