android fix

This commit is contained in:
Alexander Frick 2024-02-19 21:49:33 -06:00
parent c046062997
commit cab6e4c99a
2 changed files with 6 additions and 1 deletions

View file

@ -36,3 +36,5 @@ made possible by Thorium > Chromium
Experiments > Thorium Experiments Experiments > Thorium Experiments
Add captive portals patch > https://github.com/uazo/cromite/blob/master/build/patches/Remove-detection-of-captive-portals.patch Add captive portals patch > https://github.com/uazo/cromite/blob/master/build/patches/Remove-detection-of-captive-portals.patch
Restore JXL support on Android.

View file

@ -1049,9 +1049,12 @@ config("compiler") {
# Full RUSTC optimizations. # Full RUSTC optimizations.
"-Copt-level=3", "-Copt-level=3",
"-Cllvm-args=-fp-contract=fast",
] ]
if (current_cpu == "arm64") {
rustflags += [ "-Cllvm-args=-fp-contract=fast", ]
}
if (!is_win || force_rustc_color_output) { if (!is_win || force_rustc_color_output) {
# Colorize error output. The analogous flag is passed for clang. This must # Colorize error output. The analogous flag is passed for clang. This must
# be platform-gated since rustc will unconditionally output ANSI escape # be platform-gated since rustc will unconditionally output ANSI escape