summaryrefslogtreecommitdiff
path: root/patches/newlib/2.5.0.20170323/110-fix-eabihf.patch
blob: 21ed2d32eedda9d2ac182512972194d84b587f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -urpN newlib-2.5.0.20170323.orig/libgloss/arm/configure newlib-2.5.0.20170323/libgloss/arm/configure
--- newlib-2.5.0.20170323.orig/libgloss/arm/configure	2017-04-11 00:41:25.464880809 -0700
+++ newlib-2.5.0.20170323/libgloss/arm/configure	2017-04-11 00:43:12.333789062 -0700
@@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA
 
 
 case "${target}" in
-  *-*-elf | *-*-eabi | *-*-tirtos*)
+  *-*-elf | *-*-eabi* | *-*-tirtos*)
 	objtype=elf-
 	;;
   *-*-coff)
diff -urpN newlib-2.5.0.20170323.orig/libgloss/arm/configure.in newlib-2.5.0.20170323/libgloss/arm/configure.in
--- newlib-2.5.0.20170323.orig/libgloss/arm/configure.in	2017-04-11 00:41:25.464880809 -0700
+++ newlib-2.5.0.20170323/libgloss/arm/configure.in	2017-04-11 00:43:12.333789062 -0700
@@ -49,7 +49,7 @@ AC_PROG_RANLIB
 LIB_AM_PROG_AS
 
 case "${target}" in
-  *-*-elf | *-*-eabi | *-*-tirtos*)
+  *-*-elf | *-*-eabi* | *-*-tirtos*)
 	objtype=elf-
 	;;
   *-*-coff)