~mozillateam/firefox/firefox-beta.focal

« back to all changes in this revision

Viewing changes to debian/patches/libpixman-disable-vmx.patch

  • Committer: Rico Tzschichholz
  • Date: 2023-12-23 16:48:19 UTC
  • Revision ID: ricotz@ubuntu.com-20231223164819-5nni6p8n0k6s3rbx
Sync with 121 focal stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: disable vmx support when building libpixman, because it uses a builtin (vec_xl) that isn't available in clang < 11
 
2
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
 
3
 
 
4
--- a/gfx/cairo/libpixman/src/moz.build
 
5
+++ b/gfx/cairo/libpixman/src/moz.build
 
6
@@ -99,11 +99,6 @@
 
7
             'pixman-arm-simd-asm.S',
 
8
             'pixman-arm-simd.c',
 
9
         ]
 
10
-elif CONFIG['CPU_ARCH'] in ('ppc', 'ppc64'):
 
11
-    if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
 
12
-        DEFINES['USE_VMX'] = True
 
13
-        SOURCES += ['pixman-vmx.c']
 
14
-        SOURCES['pixman-vmx.c'].flags += ['-maltivec']
 
15
 
 
16
 # Suppress warnings in third-party code.
 
17
 CFLAGS += [