From: Mike Hommey Date: Mon, 10 Jul 2023 21:34:59 +0000 (+0900) Subject: Work around GCC ICE on ppc64el X-Git-Tag: archive/raspbian/140.8.0esr-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=09f7539438e3a393ff1008e0e87291bb0a950203;p=firefox-esr.git Work around GCC ICE on ppc64el Gbp-Pq: Topic debian-hacks Gbp-Pq: Name Work-around-GCC-ICE-on-ppc64el.patch --- diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build index ed6a66462be..d46a7a74697 100644 --- a/gfx/skia/moz.build +++ b/gfx/skia/moz.build @@ -377,7 +377,15 @@ UNIFIED_SOURCES += [ 'skia/src/sksl/SkSLConstantFolder.cpp', 'skia/src/sksl/SkSLContext.cpp', 'skia/src/sksl/SkSLErrorReporter.cpp', - 'skia/src/sksl/SkSLInliner.cpp', +] + +# Work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110606 +if CONFIG['CC_TYPE'] == 'gcc' and CONFIG['CPU_ARCH'] == 'ppc64': + SOURCES += ['skia/src/sksl/SkSLInliner.cpp'] +else: + UNIFIED_SOURCES += ['skia/src/sksl/SkSLInliner.cpp'] + +UNIFIED_SOURCES += [ 'skia/src/sksl/SkSLIntrinsicList.cpp', 'skia/src/sksl/SkSLMangler.cpp', 'skia/src/sksl/SkSLModule.cpp',