Skip to content
Snippets Groups Projects
Commit 8adc52af authored by Steve Lhomme's avatar Steve Lhomme
Browse files

contrib: soxr: don't force the CMAKE_SYSTEM_NAME when cross compiling

The proper value is already set in the toolchain.cmake since a6dcec33.
If the value is not set for a cross compiled target, building fails since f2e67d22.
parent c8b61aaa
No related branches found
No related tags found
1 merge request!5128contrib: soxr: don't force the CMAKE_SYSTEM_NAME when cross compiling
Pipeline #453603 passed with stage
in 1 hour and 12 seconds
......@@ -27,16 +27,7 @@ soxr: soxr-$(SOXR_VERSION)-Source.tar.xz .sum-soxr
$(call pkg_static,"src/soxr.pc.in")
$(MOVE)
# CMAKE_SYSTEM_NAME is inferred from the toolchain in Android builds
ifndef HAVE_ANDROID
# Force CMAKE_CROSSCOMPILING to True
ifdef HAVE_CROSS_COMPILE
SOXR_EXTRA_CONF=-DCMAKE_SYSTEM_NAME=Generic
endif
endif
SOXR_CONF := \
$(SOXR_EXTRA_CONF) \
-DBUILD_TESTS=OFF \
-DWITH_LSR_BINDINGS=OFF \
-DWITH_OPENMP=OFF \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment