gmp: disable assembly for MIPS r6 ISA
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 24 Nov 2015 13:32:27 +0000 (10:32 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Nov 2015 10:24:52 +0000 (11:24 +0100)
It's still not supported/implemented, fixes:
http://autobuild.buildroot.net/results/d06/d0686b3e7b8884f93034d4ea4b79fa8590ffa221/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gmp/gmp.mk

index f71a2109ab3fc65d8b340d2ae5c943c9614e21aa..96dd6ed8223297391af446b247afda46f7e839ae 100644 (file)
@@ -12,5 +12,10 @@ GMP_LICENSE = LGPLv3+
 GMP_LICENSE_FILES = COPYING.LESSERv3
 GMP_DEPENDENCIES = host-m4
 
+# GMP doesn't support assembly for r6 ISA yet
+ifeq ($(BR2_mips_32r6)$(BR2_mips_64r6),y)
+GMP_CONF_OPTS += --disable-assembly
+endif
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))