From: Yann E. MORIN Date: Mon, 16 Mar 2015 16:31:26 +0000 (+0100) Subject: package/fftw: enable OpenMP if the compiler has that X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84183b3ec32723527434e93224e5914e2ab469bf;p=buildroot.git package/fftw: enable OpenMP if the compiler has that Unfortunately, this is limited to internal toolchains; we currently have no way to know if an external toolchain has support for OpenMP. Signed-off-by: "Yann E. MORIN" Cc: guillaume william brs Cc: Gwenhael Goavec-Merou Tested-by: Gwenhael Goavec-Merou Reviewed-by: Gwenhael Goavec-Merou Signed-off-by: Thomas Petazzoni --- diff --git a/package/fftw/fftw.mk b/package/fftw/fftw.mk index aea3910981..11489096fa 100644 --- a/package/fftw/fftw.mk +++ b/package/fftw/fftw.mk @@ -35,6 +35,7 @@ FFTW_CONF_OPTS += --enable-threads --with-combined-threads else FFTW_CONF_OPTS += --disable-threads endif +FFTW_CONF_OPTS += $(if $(BR2_GCC_ENABLE_OPENMP),--enable,--disable)-openmp FFTW_CONF_OPTS += CFLAGS="$(FFTW_CFLAGS)"