Skip to content

Commit

Permalink
www/firefox: fix build on powerpc64le
Browse files Browse the repository at this point in the history
failed to perform tail call elimination on a call site marked musttail
  • Loading branch information
pkubaj committed Jun 10, 2023
1 parent 481ae04 commit 8efc1c4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions www/firefox/files/patch-gfx_skia_skia_src_core_SkRasterPipeline.h
@@ -0,0 +1,11 @@
--- gfx/skia/skia/src/core/SkRasterPipeline.h.orig 2023-06-10 14:20:18.155477000 +0200
+++ gfx/skia/skia/src/core/SkRasterPipeline.h 2023-06-10 14:20:30.760915000 +0200
@@ -24,7 +24,7 @@
struct SkImageInfo;
struct skcms_TransferFunction;

-#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32)
+#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && !defined(__powerpc__)
#define SK_HAS_MUSTTAIL 1
#else
#define SK_HAS_MUSTTAIL 0

0 comments on commit 8efc1c4

Please sign in to comment.