diff --git a/community/firefox/APKBUILD b/community/firefox/APKBUILD index 2e8d1cbb510904fc38b0defd7f7cd11d3d5e12d8..ea14f770757ade04b9d64109d6968549907fd23a 100644 --- a/community/firefox/APKBUILD +++ b/community/firefox/APKBUILD @@ -14,8 +14,7 @@ url="https://www.firefox.com/" # armhf: build failure on armhf due to wasm # ppc64le: Rust SIGSEGVs when compiling gkrust # armv7: Needs Rust nightly for WASM -# x86: OOM (out of address-space) -arch="all !s390x !armhf !mips !mips64 !ppc64le !armv7 !x86" +arch="all !s390x !armhf !mips !mips64 !ppc64le !x86" license="GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND MPL-2.0" makedepends=" alsa-lib-dev @@ -292,6 +291,9 @@ build() { export MACH_USE_SYSTEM_PYTHON=1 # Find our triplet JSON export RUST_TARGET="$CTARGET" + # Build with CLang, takes less RAM + export CC="clang" + export CXX="clang++" # set rpath so linker finds the libs export LDFLAGS="$LDFLAGS -Wl,-rpath,$_mozappdir"