[Buildroot] [PATCH 5/7 v5] package/fftw: enable threads when the tooclhain has them

Yann E. MORIN yann.morin.1998 at free.fr
Mon Mar 16 00:31:45 UTC 2015


Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
[based on a patch by Guillaume]
Cc: guillaume william brs <guillaume.bressaix at gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
---
 package/fftw/fftw.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/fftw/fftw.mk b/package/fftw/fftw.mk
index 0d15945..7b4e64a 100644
--- a/package/fftw/fftw.mk
+++ b/package/fftw/fftw.mk
@@ -23,4 +23,7 @@ FFTW_CONF_OPTS += $(if $(BR2_X86_CPU_HAS_SSE2),--enable,--disable)-sse2
 # ARM optimisations
 FFTW_CONF_OPTS += $(if $(BR2_ARM_CPU_HAS_NEON),--enable,--disable)-neon
 
+# Generic optimisations
+FFTW_CONF_OPTS += $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads)
+
 $(eval $(autotools-package))
-- 
1.9.1




More information about the buildroot mailing list