Arun Raghavan fed81a77c9 Allow disabling inline SSE
Should make building on i686 without SSE feasible.

Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5
2024-12-26 17:35:08 -05:00

22 lines
478 B
Meson

pffft_sources = [
'src/pffft.c',
]
pffft_cflags = [ '-D_GNU_SOURCE' ]
if not have_inline_sse or (have_arm and not have_neon) or (have_mips and host_machine.endian() == 'little') or have_mips64
pffft_cflags += [ '-DPFFFT_SIMD_DISABLE' ]
endif
libpffft = static_library('libpffft',
pffft_sources,
dependencies: common_deps,
include_directories: webrtc_inc,
c_args : common_cflags + pffft_cflags
)
pffft_dep = declare_dependency(
link_with: libpffft
)