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>
This commit is contained in:
parent
bdb017b30c
commit
8ae6d8003a
2
libgloss/arm/configure
vendored
2
libgloss/arm/configure
vendored
@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
|
||||
|
||||
|
||||
case "${target}" in
|
||||
*-*-elf | *-*-eabi | *-*-tirtos*)
|
||||
*-*-elf | *-*-eabi* | *-*-tirtos*)
|
||||
objtype=elf-
|
||||
;;
|
||||
*-*-coff)
|
||||
|
@ -49,7 +49,7 @@ AC_PROG_RANLIB
|
||||
LIB_AM_PROG_AS
|
||||
|
||||
case "${target}" in
|
||||
*-*-elf | *-*-eabi | *-*-tirtos*)
|
||||
*-*-elf | *-*-eabi* | *-*-tirtos*)
|
||||
objtype=elf-
|
||||
;;
|
||||
*-*-coff)
|
||||
|
Loading…
Reference in New Issue
Block a user