For reference, these patches should help to produce running build with clang/llvm v22 toolchain:
Tested for konform-browser which is based on the same firefox-esr version as icecat.
I think these should apply cleanly for icecat too but that has not been tested AFAIK. It is likely that significantly smaller resolving patch is viable but went for minimizing conflicts and retaining consistency with upstream changes.
Pinned Comments
xiota commented on 2024-02-26 07:32 (UTC) (edited on 2025-07-20 23:15 (UTC) by xiota)
Description of build options and defaults. See PKGBUILD for current list.
_build_save_source(true) – save tarball of patched sources_build_repatch(false) – discard previously saved tarball_build_pgo(true) – enable profile guided optimization; ~20% better benchmarks, 3× build time_build_pgo_reuse(try) – reuse previously generated profile_build_pgo_xvfb(true) – use Xvfb for profiling, otherwise, use xwayland-run_build_lto(false) – use link-time optimization (LTO); disabling may prevent spurious crashes_build_system_libs(true) – use system libraries_build_limit_cores(false) – limit parallelization based on memory and core availabilityExamples of use:
_build_pgo=false makepkg -Csrextra-x86_64-build -- -- _build_limit_cores=true_build_pgo_xvfb=false yay icecat# usage with AUR helpers may vary