mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
fftw: Disable combined threads when building with OpenMP support
Otherwise fftw fails to configure: configure: error: --with-combined-threads incompatible with --enable-openmp Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
d7dd1b8ad1
commit
0f163c819c
@ -31,7 +31,8 @@ FFTW_CFLAGS += $(if $(BR2_PACKAGE_FFTW_USE_NEON),-mfpu=neon)
|
|||||||
|
|
||||||
# Generic optimisations
|
# Generic optimisations
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||||
FFTW_CONF_OPTS += --enable-threads --with-combined-threads
|
FFTW_CONF_OPTS += --enable-threads
|
||||||
|
FFTW_CONF_OPTS += $(if $(BR2_GCC_ENABLE_OPENMP),--without,--with)-combined-threads
|
||||||
else
|
else
|
||||||
FFTW_CONF_OPTS += --disable-threads
|
FFTW_CONF_OPTS += --disable-threads
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user