From 407b8f28c1d1a05a1f4566c4f9c44371eb6eba5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 1 Feb 2020 10:06:07 +0100 Subject: [PATCH] radare2: fix build for mips* --- srcpkgs/radare2/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template index d11eff6c4d..1741ce512f 100644 --- a/srcpkgs/radare2/template +++ b/srcpkgs/radare2/template @@ -13,3 +13,7 @@ license="LGPL-3.0-only" homepage="http://www.radare.org" distfiles="https://github.com/radare/radare2/archive/${version}.tar.gz" checksum=b62472601cdd20356b838d6f91738159e30ac1d7b4d0c0cb158575b1ef969e69 + +case "$XBPS_TARGET_MACHINE" in + mips*) CFLAGS="-Os";; +esac