diff --git a/srcpkgs/cln/template b/srcpkgs/cln/template index 20d7f2b6f9..07f1d822b7 100644 --- a/srcpkgs/cln/template +++ b/srcpkgs/cln/template @@ -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"