From 8ae6d8003a0a478643a9f3c3e2ede5198445d307 Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Thu, 13 Apr 2017 20:17:37 -0300 Subject: libgloss/arm: fix discovery of "eabihf" toolchains ARM EABI toolchains can optionally use the "hf" suffix to identify hardware floating point support. Use the "*-*-eabi*" pattern to match these toolchains. Original patch by Bryan Hundven for the Crosstool-NG project. Improved by Alexey Neyman. Signed-off-by: Carlos Santos CC: Bryan Hundven --- libgloss/arm/configure | 2 +- libgloss/arm/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libgloss') diff --git a/libgloss/arm/configure b/libgloss/arm/configure index 93c2b2746..1aed3a94e 100644 --- a/libgloss/arm/configure +++ b/libgloss/arm/configure @@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS case "${target}" in - *-*-elf | *-*-eabi | *-*-tirtos*) + *-*-elf | *-*-eabi* | *-*-tirtos*) objtype=elf- ;; *-*-coff) diff --git a/libgloss/arm/configure.in b/libgloss/arm/configure.in index 39c15d724..5fa901d14 100644 --- a/libgloss/arm/configure.in +++ b/libgloss/arm/configure.in @@ -49,7 +49,7 @@ AC_PROG_RANLIB LIB_AM_PROG_AS case "${target}" in - *-*-elf | *-*-eabi | *-*-tirtos*) + *-*-elf | *-*-eabi* | *-*-tirtos*) objtype=elf- ;; *-*-coff) -- cgit v1.2.3