cln: fix machine selection.

This commit is contained in:
Christian Neukirchen 2016-05-13 18:46:36 +02:00
parent d61e047ec1
commit 445fcd403a
1 changed files with 4 additions and 3 deletions

View File

@ -11,9 +11,10 @@ short_desc="A library for efficient computations with all kinds of numbers in ar
distfiles="http://www.ginac.de/CLN/${pkgname}-${version}.tar.bz2"
checksum=2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748
if [ "$XBPS_TARGET_MACHINE" = arm* ]; then
CPPFLAGS+=" -DNO_ASM"
fi
case "$XBPS_TARGET_MACHINE" in
arm*)
CPPFLAGS+=" -DNO_ASM";;
esac
cln-devel_package() {
short_desc+=" - development files"