Hardcode '-maltivec' as compiler flag for powerpc/altivec support

This commit is contained in:
Martin Husemann 2024-09-22 12:39:23 +02:00 committed by roytam1
commit 545b4401c5

View file

@ -245,7 +245,7 @@ elif CONFIG['CPU_ARCH'].startswith('ppc'):
'simd/powerpc/jsimd.c',
]
for srcfile in ppc_vmx_sources:
SOURCES[srcfile].flags += CONFIG['PPC_VMX_FLAGS']
SOURCES[srcfile].flags += ['-maltivec']
else: # No SIMD support?
SOURCES += [
'jsimd_none.c',