Browse Source

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>
lilik-openwrt-22.03
Florian Fainelli 8 years ago
parent
commit
af2c2745e9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libs/libsoxr/Makefile

+ 1
- 0
libs/libsoxr/Makefile View 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


Loading…
Cancel
Save