Add -O3 for android

This commit is contained in:
Alexander David Frick 2022-04-11 14:31:57 -05:00 committed by GitHub
parent 66fddcfbdb
commit a60909d708
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -931,7 +931,7 @@ config("compiler_cpu_abi") {
}
if (is_android) {
# Outline atomics crash on Exynos 9810. http://crbug.com/1272795
cflags += [ "-mno-outline-atomics" ]
cflags += [ "-mno-outline-atomics", "-O3", ]
}
} else if (current_cpu == "mipsel" && !is_nacl) {
ldflags += [ "-Wl,--hash-style=sysv" ]