Index: firefox-146.0.1/gfx/skia/skia/modules/skcms/src/skcms_internals.h
===================================================================
--- firefox-146.0.1.orig/gfx/skia/skia/modules/skcms/src/skcms_internals.h
+++ firefox-146.0.1/gfx/skia/skia/modules/skcms/src/skcms_internals.h
@@ -53,13 +53,14 @@ extern "C" {
                                                  && !defined(__riscv) \
                                                  && !defined(__powerpc__) \
                                                  && !defined(__loongarch__) \
+                                                 && !defined(__sparc__) \
                                                  && !defined(_WIN32) && !defined(__SYMBIAN32__)
             #define SKCMS_HAS_MUSTTAIL 1
         #endif
     #elif defined(__GNUC__) && !defined(SKCMS_HAS_MUSTTAIL)
         // GCC on riscv64 does not support our tail call functions
         // cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121784
-        #if __has_cpp_attribute(clang::musttail) && !defined(__riscv)
+        #if __has_cpp_attribute(clang::musttail) && !defined(__riscv) && !defined(__sparc__)
             #define SKCMS_HAS_MUSTTAIL 1
         #else
             #define SKCMS_HAS_MUSTTAIL 0
