]>
Commit | Line | Data |
---|---|---|
ab34bd78 JP |
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> | |
4 | Forwarded: not-yet | |
5 | Last-Update: 2020-07-20 | |
6 | ||
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" ] | |
15 | } else { # x64 | |
16 | if (is_mac) { | |
17 | defines += [ | |
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" ] | |
24 | } else { # x64 | |
25 | if (is_mac) { | |
26 | defines += [ | |
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" ] | |
33 | } else { # x64 | |
34 | if (is_mac) { | |
35 | defines += [ |