From af2c2745e90af119f06cbc4dc9f49e3e18b38182 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 14 Apr 2017 12:07:00 -0700 Subject: [PATCH] libsoxr: Explicitly disable support for OpenMP In case a toolchain supports OpenMP (e.g: external toolchains), just disable support for it in libsoxr since cmake would detect that and later we would fail to create the package because there is no libgomp package being created. In case OpenMP is desireable and this is supported by the toolchain, we should introduce a specific option for that. Signed-off-by: Florian Fainelli --- libs/libsoxr/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libsoxr/Makefile b/libs/libsoxr/Makefile index 9881fbb9d..bbb16e585 100644 --- a/libs/libsoxr/Makefile +++ b/libs/libsoxr/Makefile @@ -48,6 +48,7 @@ endef CMAKE_OPTIONS:= -DBUILD_TESTS=0 -DBUILD_EXAMPLES=0 CMAKE_OPTIONS+= -DHAVE_WORDS_BIGENDIAN_EXITCODE=$(if $(CONFIG_BIG_ENDIAN),0,1) +CMAKE_OPTIONS+= -DWITH_OPENMP=0 define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include