blob: d4829ff3ae811e5abc7902d74a6d0551d8636d32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff --git a/third_party/dav1d/BUILD.gn b/third_party/dav1d/BUILD.gn
index aedc658c3..4baeac7df 100644
--- a/third_party/dav1d/BUILD.gn
+++ b/third_party/dav1d/BUILD.gn
@@ -31,9 +31,9 @@ if (current_cpu == "x86" || current_cpu == "x64") {
} else {
needs_stack_alignment = true
if (current_cpu == "x86") {
- stack_alignment = 16
+ stack_alignment = 4
} else if (current_cpu == "x64") {
- stack_alignment = 32
+ stack_alignment = 5
}
}
} else {
@@ -73,7 +73,7 @@ dav1d_copts = [
if (!is_win) {
dav1d_copts += [ "-std=c99" ]
if (needs_stack_alignment) {
- dav1d_copts += [ "-mstack-alignment=$stack_alignment" ]
+ dav1d_copts += [ "-mpreferred-stack-boundary=$stack_alignment" ]
}
}
|