ayaports/backports/signal-desktop/webrtc-use-alpine-target.patch

14 lines
593 B
Diff
Raw Normal View History

2023-01-11 13:23:51 +00:00
--- ./build/config/compiler/BUILD.gn
+++ ./build/config/compiler/BUILD.gn
@@ -937,8 +937,8 @@
2023-01-11 13:23:51 +00:00
} else if (current_cpu == "arm64") {
if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
!(is_chromeos_lacros && is_chromeos_device)) {
2023-01-11 13:23:51 +00:00
- cflags += [ "--target=aarch64-linux-gnu" ]
- ldflags += [ "--target=aarch64-linux-gnu" ]
+ cflags += [ "--target=aarch64-alpine-linux-musl" ]
+ ldflags += [ "--target=aarch64-alpine-linux-musl" ]
}
if (is_android) {
# Outline atomics crash on Exynos 9810. http://crbug.com/1272795