LimeSuite: disable octave build option for crossbuilds

This commit is contained in:
John 2023-04-09 19:56:59 +02:00
parent 43437bd3ec
commit f659e6a169
1 changed files with 5 additions and 5 deletions

View File

@ -39,11 +39,11 @@ shlib_provides="libLimeSuite.so.22.09-1"
build_options="octave"
desc_option_octave="Enable the LimeSuite Octave plugin"
# Octave is not built on arm, so don't enable the build option by default on those archs
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*) build_options_default="" ;;
*) build_options_default="octave" ;;
esac
# TODO: the cmake build system executes octave-config
# which needs additional care in crossbuilds
if [ -z "$CROSS_BUILD" ]; then
build_options_default="octave"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"