libsoxr: Explicitly disable support for OpenMP
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 14 Apr 2017 19:07:00 +0000 (12:07 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 17 Apr 2017 02:57:34 +0000 (19:57 -0700)
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 <f.fainelli@gmail.com>
libs/libsoxr/Makefile

index 9881fbb9d8717b708ffa4ae7ff2f3ca68d46f8a0..bbb16e5850c946633855718f4b8904e065964f64 100644 (file)
@@ -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