public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] libgloss/arm: fix discovery of "eabihf" toolchains
@ 2017-04-18 10:27 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2017-04-18 10:27 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8ae6d8003a0a478643a9f3c3e2ede5198445d307

commit 8ae6d8003a0a478643a9f3c3e2ede5198445d307
Author: Carlos Santos <casantos@datacom.ind.br>
Date:   Thu Apr 13 20:17:37 2017 -0300

    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 <casantos@datacom.ind.br>
    CC: Bryan Hundven <bryanhundven@gmail.com
    CC: Alexey Neyman <stilor@att.net>

Diff:
---
 libgloss/arm/configure    | 2 +-
 libgloss/arm/configure.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgloss/arm/configure b/libgloss/arm/configure
index 93c2b27..1aed3a9 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 39c15d7..5fa901d 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-18 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-18 10:27 [newlib-cygwin] libgloss/arm: fix discovery of "eabihf" toolchains Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).