crosstool-ng/packages/newlib/1.19.0/110-fix-eabihf.patch

25 lines
830 B
Diff
Raw Normal View History

diff -urpN newlib-1.19.0.orig/libgloss/arm/configure newlib-1.19.0/libgloss/arm/configure
--- newlib-1.19.0.orig/libgloss/arm/configure 2017-04-11 00:41:24.072868994 -0700
+++ newlib-1.19.0/libgloss/arm/configure 2017-04-11 00:43:12.281788619 -0700
@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA
case "${target}" in
- *-*-elf | *-*-eabi)
+ *-*-elf | *-*-eabi*)
objtype=elf-
;;
*-*-coff)
diff -urpN newlib-1.19.0.orig/libgloss/arm/configure.in newlib-1.19.0/libgloss/arm/configure.in
--- newlib-1.19.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.072868994 -0700
+++ newlib-1.19.0/libgloss/arm/configure.in 2017-04-11 00:43:12.281788619 -0700
@@ -49,7 +49,7 @@ AC_PROG_RANLIB
LIB_AM_PROG_AS
case "${target}" in
- *-*-elf | *-*-eabi)
+ *-*-elf | *-*-eabi*)
objtype=elf-
;;
*-*-coff)