diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-07 14:44:14 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-07 14:54:20 +0200 |
commit | 32ccd283f6af7c00a37bad163f77c481d3967ff1 (patch) | |
tree | e3a42d0d2c194c86488f3e176f4d6163670c43b8 /media/kiss_fft/moz.build | |
parent | 240f52db8e97c9c65592771ddffb6efbdd210c15 (diff) | |
download | UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar.gz UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar.lz UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar.xz UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.zip |
Update kiss-fft to 1.4.0 and disable OpenMP for it.
Diffstat (limited to 'media/kiss_fft/moz.build')
-rw-r--r-- | media/kiss_fft/moz.build | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/media/kiss_fft/moz.build b/media/kiss_fft/moz.build index 798240b91..3dcf9123a 100644 --- a/media/kiss_fft/moz.build +++ b/media/kiss_fft/moz.build @@ -1,4 +1,4 @@ -# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- # vim: set filetype=python: # 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 @@ -14,4 +14,12 @@ SOURCES += [ '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' |