Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-11-16 20:14:11 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-11-16 20:14:11 +0300
commit4a20b7de18632ecfab84bb3ad305642d86b55ca2 (patch)
tree51aea8c3d899db8cdb526976b0174b493eb27017 /newlib/configure.host
parentfee22c5382a29f8ef905cd6b3487124aa9f23d8f (diff)
* configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 001a6bc56..1ea6940dd 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -558,6 +558,7 @@ case "${host}" in
*-*-rtems*)
default_newlib_io_long_long="yes"
default_newlib_io_c99_formats="yes"
+ newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
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"