blob: d4829ff3ae811e5abc7902d74a6d0551d8636d32 (
plain) (
tree)
|
|
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" ]
}
}
|