Skip to content

Commit

Permalink
android fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Feb 20, 2024
1 parent c046062 commit cab6e4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ made possible by Thorium > Chromium
Experiments > Thorium Experiments

Add captive portals patch > https://github.com/uazo/cromite/blob/master/build/patches/Remove-detection-of-captive-portals.patch

Restore JXL support on Android.
5 changes: 4 additions & 1 deletion arm/build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1049,9 +1049,12 @@ config("compiler") {

# Full RUSTC optimizations.
"-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) {
# Colorize error output. The analogous flag is passed for clang. This must
# be platform-gated since rustc will unconditionally output ANSI escape
Expand Down

0 comments on commit cab6e4c

Please sign in to comment.