diff --git a/deb_patches/armhf-reduce-linker-memory-use.patch b/deb_patches/armhf-reduce-linker-memory-use.patch index dbe74cf..f4f0a86 100644 --- a/deb_patches/armhf-reduce-linker-memory-use.patch +++ b/deb_patches/armhf-reduce-linker-memory-use.patch @@ -23,5 +23,6 @@ Author: Olivier Tilloy + if host.cpu == "arm": + flags.append("-Wl,--no-keep-memory") - if sysroot_path and multiarch_dir: - for d in ("lib", "usr/lib"): + # rpath-link is irrelevant to wasm, see for more info https://github.com/emscripten-core/emscripten/issues/11076. + if sysroot_path and multiarch_dir and target.os != "WASI": + diff --git a/deb_patches/fix-armhf-webrtc-build.patch b/deb_patches/fix-armhf-webrtc-build.patch index 9f45a78..5256fc7 100644 --- a/deb_patches/fix-armhf-webrtc-build.patch +++ b/deb_patches/fix-armhf-webrtc-build.patch @@ -1,7 +1,7 @@ --- a/third_party/libwebrtc/webrtc/system_wrappers/cpu_features_linux_gn/moz.build +++ b/third_party/libwebrtc/webrtc/system_wrappers/cpu_features_linux_gn/moz.build @@ -31,10 +31,6 @@ LOCAL_INCLUDES += [ - "/third_party/libwebrtc/webrtc/" + "/tools/profiler/public" ] -UNIFIED_SOURCES += [