summaryrefslogtreecommitdiff
blob: 1704cc0ba7f46a035471db95329e56929f3cbd68 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
https://bugs.gentoo.org/413547

From 3b98b99eaa23f242b984af8cbf4a0e707bc7eae8 Mon Sep 17 00:00:00 2001
From: Corinna Vinschen <corinna@vinschen.de>
Date: Thu, 23 Feb 2012 09:30:17 +0000
Subject: [PATCH] 	* configure.host: Accept "arm*" host spec instead of
 just "arm".

---
 newlib/ChangeLog      |    4 ++++
 newlib/configure.host |    8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

+2012-02-23  Dan Egnor  <egnor@ofb.net>

	* configure.host: Accept "arm*" host spec instead of just "arm".

diff --git a/newlib/configure.host b/newlib/configure.host
index a6673af..dc44e80 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -98,7 +98,7 @@ case "${host_cpu}" in
   arc)
 	machine_dir=
 	;;
-  arm)
+  arm*)
 	machine_dir=arm
 	;;
   avr*)
@@ -367,7 +367,7 @@ case "${host}" in
   arc-*-*)
 	sys_dir=arc
 	;;
-  arm-*-*)
+  arm*-*-*)
 	sys_dir=arm
 	if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then
 	  have_crt0="no"
@@ -560,10 +560,10 @@ case "${host}" in
   arc-*-*)
 	syscall_dir=syscalls
 	;;
-  arm-*-pe)
+  arm*-*-pe)
 	syscall_dir=syscalls
 	;;
-  arm-*-*)
+  arm*-*-*)
 	syscall_dir=syscalls
 # If newlib is supplying syscalls, select which debug protocol is being used.
 # ARM_RDP_MONITOR selects the Demon monitor.
-- 
1.7.8.5