From a1c3039811a0ffc61c2e1b5b085ec7b6ddf8c30a Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 11 Apr 2017 01:06:16 -0700 Subject: 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 --- patches/newlib/2.0.0/110-fix-eabihf.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 patches/newlib/2.0.0/110-fix-eabihf.patch (limited to 'patches/newlib/2.0.0/110-fix-eabihf.patch') diff --git a/patches/newlib/2.0.0/110-fix-eabihf.patch b/patches/newlib/2.0.0/110-fix-eabihf.patch new file mode 100644 index 00000000..5bb24059 --- /dev/null +++ b/patches/newlib/2.0.0/110-fix-eabihf.patch @@ -0,0 +1,24 @@ +diff -urpN newlib-2.0.0.orig/libgloss/arm/configure newlib-2.0.0/libgloss/arm/configure +--- newlib-2.0.0.orig/libgloss/arm/configure 2017-04-11 00:41:24.304870963 -0700 ++++ newlib-2.0.0/libgloss/arm/configure 2017-04-11 00:43:12.297788756 -0700 +@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) +diff -urpN newlib-2.0.0.orig/libgloss/arm/configure.in newlib-2.0.0/libgloss/arm/configure.in +--- newlib-2.0.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.304870963 -0700 ++++ newlib-2.0.0/libgloss/arm/configure.in 2017-04-11 00:43:12.297788756 -0700 +@@ -49,7 +49,7 @@ AC_PROG_RANLIB + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) -- cgit v1.2.3