From 71f3a8f566b2a043e051d4943a7aee14506df171 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 1 Apr 2008 18:58:07 +0000 Subject: [PATCH] 2008-04-01 Patrick Mansfield * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and -DMISSING_SYSCALL_NAMES. --- newlib/ChangeLog | 5 +++++ newlib/configure.host | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index a55008033..f2435236f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2008-04-01 Patrick Mansfield + + * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and + -DMISSING_SYSCALL_NAMES. + 2008-04-01 Patrick Mansfield * libc/machine/spu/Makefile.am: Add assert.c. diff --git a/newlib/configure.host b/newlib/configure.host index bbdfff31f..3f276fd25 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -268,7 +268,10 @@ case "${host_cpu}" in stdio_dir= libm_machine_dir=spu machine_dir=spu - newlib_cflags="${newlib_cflags} -D_POSIX_MODE -ffunction-sections -fdata-sections " + newlib_cflags="${newlib_cflags} -D_POSIX_MODE" + newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED" + newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" + newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections " ;; *) echo '***' "Newlib does not support CPU ${host_cpu}" 1>&2