No Issue - Fix clang builds on 32-bit ARM Linux. The clang integrated assembler can't handle these files.

This commit is contained in:
Brian Smith 2026-02-28 11:45:35 +00:00 • committed by OwnedByWuigi
commit fca1546384
2 changed files with 8 additions and 5 deletions

View file

@ -93,11 +93,10 @@ if CONFIG['LIBJPEG_TURBO_ASFLAGS']:
'simd/arm/jquanti-neon.c',
]
CFLAGS += ['-mfpu=neon']
elif CONFIG['CPU_ARCH'] == 'aarch64':
SOURCES += [
'simd/jsimd_arm64.c',
'simd/jsimd_arm64_neon.S',
]
if CONFIG['CC_TYPE'] == 'clang':
SOURCES['simd/arm/aarch32/jsimd_neon.S'].flags += [
'-fno-integrated-as',
]
elif CONFIG['CPU_ARCH'] == 'aarch64':
LOCAL_INCLUDES += [
'/media/libjpeg/simd/arm',