Files
chromium/chromium-140.0.7339.80-x86_64-fix-openmamba-gcc-target.patch

14 lines
704 B
Diff

--- chromium-140.0.7339.80/build/config/compiler/BUILD.gn.orig 2025-09-10 10:45:57.246544656 +0200
+++ chromium-140.0.7339.80/build/config/compiler/BUILD.gn 2025-09-10 10:46:50.822676626 +0200
@@ -1282,8 +1282,8 @@
# simplicity we always explicitly set the architecture.
if (current_cpu == "x64") {
if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) {
- cflags += [ "--target=x86_64-unknown-linux-gnu" ]
- ldflags += [ "--target=x86_64-unknown-linux-gnu" ]
+ cflags += [ "--target=x86_64-openmamba-linux-gnu" ]
+ ldflags += [ "--target=x86_64-openmamba-linux-gnu" ]
} else {
cflags += [ "-m64" ]
ldflags += [ "-m64" ]