summaryrefslogtreecommitdiff
path: root/newlib/patches/03-newlib-newlib-configure-host.patch
diff options
context:
space:
mode:
authorneal <neal>2008-03-01 13:09:50 +0000
committerneal <neal>2008-03-01 13:09:50 +0000
commit5de3dba22f06a1941b378faf622bbe5779ec474a (patch)
tree94de00184069f3befa5b7784c6a93f88e5e0dfd7 /newlib/patches/03-newlib-newlib-configure-host.patch
parent949882f979995c232659a1f3d9f5400617f6ed44 (diff)
2008-03-01 Neal H. Walfield <neal@gnu.org>
* Makefile.am (addon): Add newlib/libc/sys/hurd/include/signal.h. * patches/03-newlib-newlib-configure-host.patch: Add -DSIGNAL_PROVIDED to newlib_cflags. * patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch: Correctly calcualtesigjmp_buf. * addon/newlib/libc/sys/hurd/include/signal.h: New file.
Diffstat (limited to 'newlib/patches/03-newlib-newlib-configure-host.patch')
-rw-r--r--newlib/patches/03-newlib-newlib-configure-host.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/patches/03-newlib-newlib-configure-host.patch b/newlib/patches/03-newlib-newlib-configure-host.patch
index 11e5355..64f7058 100644
--- a/newlib/patches/03-newlib-newlib-configure-host.patch
+++ b/newlib/patches/03-newlib-newlib-configure-host.patch
@@ -12,14 +12,15 @@ retrieving revision 1.97
diff -u -p -r1.97 configure.host
--- newlib/newlib/configure.host 7 Nov 2007 21:42:24 -0000 1.97
+++ newlib/newlib/configure.host 20 Jan 2008 20:03:05 -0000
-@@ -391,6 +391,12 @@ case "${host}" in
+@@ -391,6 +391,13 @@ case "${host}" in
h8500-*-elf*)
sys_dir=h8500hms
;;
+ *-gnu*)
+ sys_dir=hurd
+ syscalls_dir=syscalls
-+ newlib_cflags="${newlib_cflags} -Wall -DMALLOC_PROVIDED \
++ newlib_cflags="${newlib_cflags} -Wall \
++ -DMALLOC_PROVIDED -DSIGNAL_PROVIDED \
+ -DHAVE_DD_LOCK -DREENTRANT_SYSCALLS_PROVIDED -D_GNU_SOURCE"
+ ;;
i[34567]86-*-rdos*)