radare2: fix build for mips*

This commit is contained in:
Jürgen Buchmüller 2020-02-01 10:06:07 +01:00
parent cc4b75bcfc
commit 407b8f28c1

View file

@ -13,3 +13,7 @@ license="LGPL-3.0-only"
homepage="http://www.radare.org" homepage="http://www.radare.org"
distfiles="https://github.com/radare/radare2/archive/${version}.tar.gz" distfiles="https://github.com/radare/radare2/archive/${version}.tar.gz"
checksum=b62472601cdd20356b838d6f91738159e30ac1d7b4d0c0cb158575b1ef969e69 checksum=b62472601cdd20356b838d6f91738159e30ac1d7b4d0c0cb158575b1ef969e69
case "$XBPS_TARGET_MACHINE" in
mips*) CFLAGS="-Os";;
esac