Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/chromium/reenable-linux-i686-builds.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-24 20:53:30 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-24 20:53:30 +0200
commit26eba053340134c0395de8a3f7afcd076e2c18bb (patch)
tree0dd6115b0512776bc2dde5f75c6bb94273c4f205 /extra/chromium/reenable-linux-i686-builds.patch
parentb63c5218a868c7d0723f928376084e7a5713acf3 (diff)
extra/chromium: added reenable 32-bit and remove sanbox patch
Diffstat (limited to 'extra/chromium/reenable-linux-i686-builds.patch')
-rw-r--r--extra/chromium/reenable-linux-i686-builds.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/chromium/reenable-linux-i686-builds.patch b/extra/chromium/reenable-linux-i686-builds.patch
new file mode 100644
index 00000000..b18718e4
--- /dev/null
+++ b/extra/chromium/reenable-linux-i686-builds.patch
@@ -0,0 +1,19 @@
+--- a/BUILD.gn.orig
++++ b/BUILD.gn
+@@ -1616,16 +1616,6 @@
+ }
+ }
+
+-# TODO(cassew): Add more OS's that don't support x86.
+-is_valid_x86_target =
+- target_os != "ios" && target_os != "mac" &&
+- (target_os != "linux" || use_libfuzzer || !build_with_chromium)
+-
+-# Note: v8_target_cpu == arm allows using the V8 arm simulator on x86 for fuzzing.
+-assert(
+- is_valid_x86_target || target_cpu != "x86" || v8_target_cpu == "arm",
+- "'target_cpu=x86' is not supported for 'target_os=$target_os'. Consider omitting 'target_cpu' (default) or using 'target_cpu=x64' instead.")
+-
+ group("chromium_builder_perf") {
+ testonly = true
+