diff --git a/TODO.md b/TODO.md index b9cd4cfd6..884992c8a 100644 --- a/TODO.md +++ b/TODO.md @@ -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. diff --git a/arm/build/config/compiler/BUILD.gn b/arm/build/config/compiler/BUILD.gn index dbf6edf11..b6c7cc520 100644 --- a/arm/build/config/compiler/BUILD.gn +++ b/arm/build/config/compiler/BUILD.gn @@ -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