Bug 1901950 - Add missing define for ARM assembly files. a=RyanVM

The flag was added in add7c8db45

We could go all the way adding a configure test for `.syntax unified`,
but we only support two different compilers for arm, and they should
both support it (and we have other assembly files that use it
unconditionally).

Original Revision: https://phabricator.services.mozilla.com/D213392

Differential Revision: https://phabricator.services.mozilla.com/D213483
This commit is contained in:
Mike Hommey 2024-06-13 13:59:37 +00:00
parent c841a033b2
commit e29783fb9c

View file

@ -93,6 +93,8 @@ elif CONFIG['TARGET_CPU'] == 'arm':
'pixman-arm-simd-asm.S',
'pixman-arm-simd.c',
]
if CONFIG['HAVE_ARM_NEON'] or CONFIG['HAVE_ARM_SIMD']:
DEFINES['ASM_HAVE_SYNTAX_UNIFIED'] = True
if CONFIG['OS_TARGET'] == 'Android':
# For cpu-features.h
LOCAL_INCLUDES += [