Skip to content

Commit cab6e4c

Browse files
committed
android fix
1 parent c046062 commit cab6e4c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

TODO.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ made possible by Thorium > Chromium
3636
Experiments > Thorium Experiments
3737

3838
Add captive portals patch > https://github.com/uazo/cromite/blob/master/build/patches/Remove-detection-of-captive-portals.patch
39+
40+
Restore JXL support on Android.

arm/build/config/compiler/BUILD.gn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,9 +1049,12 @@ config("compiler") {
10491049

10501050
# Full RUSTC optimizations.
10511051
"-Copt-level=3",
1052-
"-Cllvm-args=-fp-contract=fast",
10531052
]
10541053

1054+
if (current_cpu == "arm64") {
1055+
rustflags += [ "-Cllvm-args=-fp-contract=fast", ]
1056+
}
1057+
10551058
if (!is_win || force_rustc_color_output) {
10561059
# Colorize error output. The analogous flag is passed for clang. This must
10571060
# be platform-gated since rustc will unconditionally output ANSI escape

0 commit comments

Comments
 (0)