From 08b4cfacae80e3aacd49f062027275d5013d4512 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 23 Mar 2018 00:53:56 +0100 Subject: [PATCH] chromium: try to fix i686 build --- srcpkgs/chromium/patches/ffmpeg-i686.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/chromium/patches/ffmpeg-i686.patch diff --git a/srcpkgs/chromium/patches/ffmpeg-i686.patch b/srcpkgs/chromium/patches/ffmpeg-i686.patch new file mode 100644 index 00000000000..5f0c0097471 --- /dev/null +++ b/srcpkgs/chromium/patches/ffmpeg-i686.patch @@ -0,0 +1,15 @@ +--- third_party/ffmpeg/BUILD.gn.orig ++++ third_party/ffmpeg/BUILD.gn +@@ -247,11 +247,7 @@ + # On POSIX x86, sanitizers will fail to compiler the H264 CABAC code due to + # insufficient registers unless we disable EBP usage. crbug.com/786760 + if (target_cpu == "x86") { +- if (using_sanitizer) { +- defines += [ "HAVE_EBP_AVAILABLE=0" ] +- } else { +- defines += [ "HAVE_EBP_AVAILABLE=1" ] +- } ++ defines += [ "HAVE_EBP_AVAILABLE=0" ] + } + + if (!is_clang) {