2008-04-01 Patrick Mansfield <patmans@us.ibm.com>

* configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
          -DMISSING_SYSCALL_NAMES.
This commit is contained in:
Jeff Johnston 2008-04-01 18:58:07 +00:00
parent 1d4a4944e5
commit 71f3a8f566
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
* configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
-DMISSING_SYSCALL_NAMES.
2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
* libc/machine/spu/Makefile.am: Add assert.c.

View File

@ -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