summaryrefslogtreecommitdiff
path: root/webrtc/third_party/pffft/meson.build
blob: c1eb5c61d1786ca19e5ab1f86f3afa51eb1b2f90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pffft_sources = [
  'src/pffft.c',
]

pffft_cflags = [ '-D_GNU_SOURCE' ]

if (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
)