view patches/cacao/armhf.patch @ 2751:2b6cee016628

CA172, PR2030, G453612: Add ARM hardfloat support to CACAO on Gentoo. 2013-01-23 Andrew John Hughes <gnu.andrew@redhat.com> CA172, PR2030, G453612: Add ARM hardfloat support to CACAO on Gentoo. * Makefile.am: (ICEDTEA_PATCHES): Add armhf patch when building CACAO. * NEWS: Updated. * patches/cacao/armhf.patch: Patch to enable hardfloat on triplet used by Gentoo.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Wed, 15 Oct 2014 03:50:28 +0100
parents
children
line wrap: on
line source

diff --git a/configure.ac b/configure.ac
--- cacao/cacao/configure.ac
+++ cacao/cacao/configure.ac
@@ -50,7 +50,7 @@
     JAVA_ARCH="arm"
 
     case "$host" in
-	*-gnueabihf)
+       *-hardfloat-*-gnueabi | *-gnueabihf)
 		ARCH_FLAGS="$ARCH_FLAGS -D__ARMHF__"
 		;;
 	esac