diff options
author | Carlos Santos <casantos@datacom.ind.br> | 2017-04-13 20:17:37 -0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-04-18 12:24:42 +0200 |
commit | 8ae6d8003a0a478643a9f3c3e2ede5198445d307 (patch) | |
tree | 4d44e52d8457e80684bf438af9b4ab85d88ba122 /libgloss/arm | |
parent | bdb017b30ca0a8f57e50a3d5cb2334cbbeb2a43e (diff) | |
download | newlib-8ae6d8003a0a478643a9f3c3e2ede5198445d307.zip newlib-8ae6d8003a0a478643a9f3c3e2ede5198445d307.tar.gz newlib-8ae6d8003a0a478643a9f3c3e2ede5198445d307.tar.bz2 |
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>
Diffstat (limited to 'libgloss/arm')
-rw-r--r-- | libgloss/arm/configure | 2 | ||||
-rw-r--r-- | 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) |