1 Description: build openh264 with -DX86_32_PICASM on x86
2 To fix linker errors with new binutils, see #965328.
3 Author: Dmitry Shachnev <mitya57@debian.org>
5 Last-Update: 2020-07-20
7 --- a/src/3rdparty/chromium/third_party/openh264/BUILD.gn
8 +++ b/src/3rdparty/chromium/third_party/openh264/BUILD.gn
9 @@ -67,7 +67,7 @@ if (use_assembler) {
10 sources = openh264_common_sources_asm_x86
11 defines = yasm_defines
12 if (target_cpu == "x86") {
13 - defines += [ "X86_32" ]
14 + defines += [ "X86_32", "X86_32_PICASM" ]
18 @@ -88,7 +88,7 @@ if (use_assembler) {
19 sources = openh264_processing_sources_asm_x86
20 defines = yasm_defines
21 if (target_cpu == "x86") {
22 - defines += [ "X86_32" ]
23 + defines += [ "X86_32", "X86_32_PICASM" ]
27 @@ -109,7 +109,7 @@ if (use_assembler) {
28 sources = openh264_encoder_sources_asm_x86
29 defines = yasm_defines
30 if (target_cpu == "x86") {
31 - defines += [ "X86_32" ]
32 + defines += [ "X86_32", "X86_32_PICASM" ]