summaryrefslogtreecommitdiff
path: root/patches/newlib/2.5.0.20170323/110-fix-eabihf.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-04-11 08:06:16 (GMT)
committerAlexey Neyman <stilor@att.net>2017-04-11 08:18:19 (GMT)
commita1c3039811a0ffc61c2e1b5b085ec7b6ddf8c30a (patch)
tree6bb44b8c16a877f492acc59fc7fc6ac4af52d1d6 /patches/newlib/2.5.0.20170323/110-fix-eabihf.patch
parent60c50068483d5a6ef76befeb4518483d753af32b (diff)
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>
Diffstat (limited to 'patches/newlib/2.5.0.20170323/110-fix-eabihf.patch')
-rw-r--r--patches/newlib/2.5.0.20170323/110-fix-eabihf.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/newlib/2.5.0.20170323/110-fix-eabihf.patch b/patches/newlib/2.5.0.20170323/110-fix-eabihf.patch
new file mode 100644
index 0000000..21ed2d3
--- /dev/null
+++ b/patches/newlib/2.5.0.20170323/110-fix-eabihf.patch
@@ -0,0 +1,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)