summaryrefslogtreecommitdiff
path: root/media/kiss_fft/Makefile.in
diff options
context:
space:
mode:
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 0000000000..eabc66309c
--- /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