From: Florian Fainelli Date: Fri, 14 Apr 2017 19:07:00 +0000 (-0700) Subject: libsoxr: Explicitly disable support for OpenMP X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=af2c2745e90af119f06cbc4dc9f49e3e18b38182;p=openwrt-packages.git 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 --- 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