mirror of https://github.com/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 <f.fainelli@gmail.com>pull/3858/merge
parent
de39e1c52d
commit
af2c2745e9
|
@ -48,6 +48,7 @@ endef
|
||||||
|
|
||||||
CMAKE_OPTIONS:= -DBUILD_TESTS=0 -DBUILD_EXAMPLES=0
|
CMAKE_OPTIONS:= -DBUILD_TESTS=0 -DBUILD_EXAMPLES=0
|
||||||
CMAKE_OPTIONS+= -DHAVE_WORDS_BIGENDIAN_EXITCODE=$(if $(CONFIG_BIG_ENDIAN),0,1)
|
CMAKE_OPTIONS+= -DHAVE_WORDS_BIGENDIAN_EXITCODE=$(if $(CONFIG_BIG_ENDIAN),0,1)
|
||||||
|
CMAKE_OPTIONS+= -DWITH_OPENMP=0
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
|
|
Loading…
Reference in New Issue