crosstool-ng/patches/newlib/2.2.0.20151023/110-fix-eabihf.patch
Alexey Neyman a1c3039811 Sort out newlib patches
- Existing 110-fix-eabihf.patch did not apply to 1.20.0 and earlier
- This patch is also applicable to 2.x versions
- The patch needs to be applied to both configure.in/configure
- Existing 200-optimising-for-space.patch also applies to all versions
  before 2.4.0
- Similar issues exist in other config/mt-* files
- m68k patch is applicable to 2.* versions

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-11 01:18:19 -07:00

25 lines
950 B
Diff

diff -urpN newlib-2.2.0.20151023.orig/libgloss/arm/configure newlib-2.2.0.20151023/libgloss/arm/configure
--- newlib-2.2.0.20151023.orig/libgloss/arm/configure 2017-04-11 00:41:24.816875309 -0700
+++ newlib-2.2.0.20151023/libgloss/arm/configure 2017-04-11 00:43:12.313788892 -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.2.0.20151023.orig/libgloss/arm/configure.in newlib-2.2.0.20151023/libgloss/arm/configure.in
--- newlib-2.2.0.20151023.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.816875309 -0700
+++ newlib-2.2.0.20151023/libgloss/arm/configure.in 2017-04-11 00:43:12.313788892 -0700
@@ -49,7 +49,7 @@ AC_PROG_RANLIB
LIB_AM_PROG_AS
case "${target}" in
- *-*-elf | *-*-eabi | *-*-tirtos*)
+ *-*-elf | *-*-eabi* | *-*-tirtos*)
objtype=elf-
;;
*-*-coff)