summaryrefslogtreecommitdiffstats
path: root/media/kiss_fft/moz.build
blob: a11ef13e5ef656763ef5c98bc5693b7b5d76bf0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

EXPORTS.kiss_fft += [
    'kiss_fft.h',
    'kiss_fftr.h',
]

SOURCES += [
    'kiss_fft.c',
    'kiss_fftr.c',
]

# kiss_fft causes OOM error with some 32bit versions of GCC when using -O2
if '64' not in CONFIG['OS_TEST']:
    if CONFIG['GNU_CC']:
        CFLAGS += ['-O1']

if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
    NO_VISIBILITY_FLAGS = True

FINAL_LIBRARY = 'xul'