firefox/wasi.patch
Jan Grulich 24b95b00a4 Update to 140.5.0 build 2
- Add mlkem768-secp256r1 support
- Fix ML-DSA support
- Update upstream patch and rework the patch for ML-DSA adapting it to
system NSS to avoid possible breakage in case of future NSS rebase.
- Fix for massive file size of x86_64 rpm in rhel-7.9

Resolves: RHEL-126383
2025-11-10 12:18:58 +01:00

13 lines
831 B
Diff

diff -up firefox-121.0.1/toolkit/moz.configure.wasi firefox-121.0.1/toolkit/moz.configure
--- firefox-121.0.1/toolkit/moz.configure.wasi 2024-02-01 09:14:33.816548952 +0100
+++ firefox-121.0.1/toolkit/moz.configure 2024-02-01 09:15:53.264684309 +0100
@@ -2663,7 +2663,7 @@ with only_when(requires_wasm_sandboxing
def wasi_sysroot_flags(wasi_sysroot):
if wasi_sysroot:
log.info("Using wasi sysroot in %s", wasi_sysroot)
- return ["--sysroot=%s" % wasi_sysroot]
+ return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs", "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/home/jhorak/r/firefox/firefox-140.5.0-build/firefox-140.5.0/wasi-sdk-20/build/compiler-rt/lib/wasi/libclang_rt.builtins-wasm32.a"]
return []
set_config("WASI_SYSROOT", wasi_sysroot)