summaryrefslogtreecommitdiffstats
path: root/media/kiss_fft/Makefile.in
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-07 14:44:14 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-07 14:54:20 +0200
commit32ccd283f6af7c00a37bad163f77c481d3967ff1 (patch)
treee3a42d0d2c194c86488f3e176f4d6163670c43b8 /media/kiss_fft/Makefile.in
parent240f52db8e97c9c65592771ddffb6efbdd210c15 (diff)
downloadUXP-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/Makefile.in')
-rw-r--r--media/kiss_fft/Makefile.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/media/kiss_fft/Makefile.in b/media/kiss_fft/Makefile.in
new file mode 100644
index 000000000..eabc66309
--- /dev/null
+++ b/media/kiss_fft/Makefile.in
@@ -0,0 +1,14 @@
+# 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/.
+
+include $(topsrcdir)/config/rules.mk
+
+# We don't want OpenMP for KISS-FFT
+ifeq ($(OS_ARCH),WINNT)
+ CFLAGS := $(filter-out -openmp,$(CFLAGS))
+endif
+
+ifdef GNU_CC
+ CFLAGS := $(filter-out -ftree-parallelize-loops -fopenmp,$(CFLAGS))
+endif