chafa: fix cross
This commit is contained in:
parent
8cc007dc8e
commit
ff9178a96d
|
@ -11,7 +11,12 @@ license="LGPL-3.0-or-later"
|
|||
homepage="https://hpjansson.org/chafa/"
|
||||
distfiles="https://hpjansson.org/chafa/releases/chafa-${version}.tar.xz"
|
||||
checksum=49d491a566a22daf56c51c043259f1373a1b1125d5c1c1fe321f7c25ca178e01
|
||||
nocross="configure: error: cannot run test program while cross compiling"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*|i686*) ;;
|
||||
*) configure_args+=" ax_cv_gcc_check_x86_cpu_init=no
|
||||
ax_cv_gcc_check_x86_cpu_supports=no" ;;
|
||||
esac
|
||||
|
||||
chafa-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in New Issue