diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-10-08 20:44:10 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-10-08 20:44:10 +0400 |
commit | a3a62ae7a58879c77fe7de79533ad1024d8d4856 (patch) | |
tree | ce3aa1c7a8b8bd51d14246c8f4f841514439e29c /newlib/configure.host | |
parent | b1da4d8277bc0d2cafb13a0d8c3760be7a2b3877 (diff) |
2009-10-08 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: For RTEMS, define HAVE_ASSERT_FUNC.
* libc/stdlib/assert.c (_assert_func): Do not specify
__assert_func if HAVE_ASSERT_FUNC flag is set.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 8576b657f..50a541234 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -549,7 +549,7 @@ case "${host}" in *-*-rtems*) default_newlib_io_long_long="yes" default_newlib_io_c99_formats="yes" - newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL" + newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC" # turn off unsupported items in posix directory newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN" ;; |