diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2020-07-21 15:52:21 +0300 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2020-07-21 14:49:12 +0000 |
commit | d19ddc13c6b6d46e8d27d2e9e8bb9df4475fbae9 (patch) | |
tree | 4ade745847747418edeb67143b0a4c190cc48dbc | |
parent | 7d0c0b1385af8a753d1994df2d3a02b04e92cfa9 (diff) | |
download | qtwebengine-chromium-d19ddc13c6b6d46e8d27d2e9e8bb9df4475fbae9.tar.gz |
Build openh264 with -DX86_32_PICASM on x86
To fix warnings/errors from binutils 2.35 branch about relocation in
read-only section `.text'.
See the following binutils bugs:
- https://sourceware.org/bugzilla/show_bug.cgi?id=20824
- https://sourceware.org/bugzilla/show_bug.cgi?id=22909
And this Debian bug: https://bugs.debian.org/965328.
Change-Id: I4faa3b31d346f7423ba655782e9611a51a2e4934
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/third_party/openh264/BUILD.gn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/openh264/BUILD.gn b/chromium/third_party/openh264/BUILD.gn index d131d21bc42..f3b9d997a82 100644 --- a/chromium/third_party/openh264/BUILD.gn +++ b/chromium/third_party/openh264/BUILD.gn @@ -67,7 +67,7 @@ if (use_assembler) { sources = openh264_common_sources_asm_x86 defines = yasm_defines if (target_cpu == "x86") { - defines += [ "X86_32" ] + defines += [ "X86_32", "X86_32_PICASM" ] } else { # x64 if (is_mac) { defines += [ @@ -88,7 +88,7 @@ if (use_assembler) { sources = openh264_processing_sources_asm_x86 defines = yasm_defines if (target_cpu == "x86") { - defines += [ "X86_32" ] + defines += [ "X86_32", "X86_32_PICASM" ] } else { # x64 if (is_mac) { defines += [ @@ -109,7 +109,7 @@ if (use_assembler) { sources = openh264_encoder_sources_asm_x86 defines = yasm_defines if (target_cpu == "x86") { - defines += [ "X86_32" ] + defines += [ "X86_32", "X86_32_PICASM" ] } else { # x64 if (is_mac) { defines += [ |