subtle: use a generic cross check instead of restricting archs

This commit is contained in:
q66 2020-04-08 04:41:24 +02:00
parent 75893676a6
commit e2aed1b1cb

View file

@ -12,6 +12,9 @@ homepage="http://subtle.subforge.org"
conf_files="/etc/xdg/subtle/subtle.rb"
if [ "$CROSS_BUILD" ]; then
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
broken="Word size must match"
fi
hostmakedepends+=" $makedepends"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/ruby-2.7.0/"
export CFLAGS