mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
Issue #1751 - Remove Mac/ARM C fallback on gcc from pixman
This commit is contained in:
parent
cc8b823a2d
commit
4363b6cac3
1 changed files with 5 additions and 14 deletions
|
|
@ -8,11 +8,7 @@ EXPORTS += [
|
|||
'pixman.h',
|
||||
]
|
||||
|
||||
# Apple's arm assembler doesn't support the same syntax as
|
||||
# the standard GNU assembler, so use the C fallback paths for now.
|
||||
# This may be fixable if clang's ARM/iOS assembler improves into a
|
||||
# viable solution in the future.
|
||||
if CONFIG['OS_ARCH'] != 'Darwin' and CONFIG['GNU_CC']:
|
||||
if CONFIG['GNU_CC']:
|
||||
if CONFIG['HAVE_ARM_NEON']:
|
||||
SOURCES += [
|
||||
'pixman-arm-neon-asm-bilinear.S',
|
||||
|
|
@ -94,16 +90,11 @@ if '86' in CONFIG['OS_TEST']:
|
|||
elif 'ppc' in CONFIG['OS_TEST']:
|
||||
if CONFIG['GNU_CC']:
|
||||
use_vmx = True
|
||||
# Apple's arm assembler doesn't support the same syntax as
|
||||
# the standard GNU assembler, so use the C fallback paths for now.
|
||||
# This may be fixable if clang's ARM/iOS assembler improves into a
|
||||
# viable solution in the future.
|
||||
elif 'arm' in CONFIG['OS_TEST']:
|
||||
if CONFIG['OS_ARCH'] != 'Darwin':
|
||||
if CONFIG['HAVE_ARM_SIMD']:
|
||||
use_arm_simd_gcc = True
|
||||
if CONFIG['HAVE_ARM_NEON']:
|
||||
use_arm_neon_gcc = True
|
||||
if CONFIG['HAVE_ARM_SIMD']:
|
||||
use_arm_simd_gcc = True
|
||||
if CONFIG['HAVE_ARM_NEON']:
|
||||
use_arm_neon_gcc = True
|
||||
|
||||
if use_mmx:
|
||||
DEFINES['USE_MMX'] = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue