void-packages/srcpkgs/chromium/patches/ffmpeg-i686.patch

16 lines
504 B
Diff
Raw Normal View History

2018-03-23 00:53:56 +01:00
--- 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) {