-
Notifications
You must be signed in to change notification settings - Fork 16
/
newlib.patch
32 lines (32 loc) · 1.25 KB
/
newlib.patch
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
--- ../../newlib-1.18.0/config.sub 2009-11-20 05:10:09.000000000 -0500
+++ config.sub 2010-04-03 15:47:27.000000000 -0400
@@ -1281,6 +1281,7 @@ case $os in
| -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
+ | -{{OSNAME}}* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
--- ../../newlib-1.18.0/newlib/libc/sys/configure.in 2007-05-24 13:33:37.000000000 -0400
+++ newlib/libc/sys/configure.in 2010-04-03 15:55:26.000000000 -0400
@@ -44,6 +44,7 @@ if test -n "${sys_dir}"; then
sysvnecv70) AC_CONFIG_SUBDIRS(sysvnecv70) ;;
tic80) AC_CONFIG_SUBDIRS(tic80) ;;
w65) AC_CONFIG_SUBDIRS(w65) ;;
+ {{OSNAME}}) AC_CONFIG_SUBDIRS({{OSNAME}}) ;;
z8ksim) AC_CONFIG_SUBDIRS(z8ksim) ;;
esac;
fi
--- ../../newlib-1.18.0/newlib/configure.host 2009-12-10 12:12:11.000000000 -0500
+++ newlib/configure.host 2010-04-03 15:57:57.000000000 -0400
@@ -519,6 +519,9 @@ case "${host}" in
w65-*-*)
sys_dir=w65
;;
+ x86_64-*-{{OSNAME}}*)
+ sys_dir={{OSNAME}}
+ ;;
xscale-*-*)
sys_dir=arm
if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then