diff options
-rw-r--r-- | newlib/ChangeLog | 6 | ||||
-rw-r--r-- | newlib/configure.host | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 552da88..e4af379 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2005-03-23 Christopher Faylor <cgf@timesys.com> + + * configure.host: For cygwin, redefine CC with cygwin include directory + first to mimic the behavior of the top-level configury. Move include + directory out of newlib_cflags. + 2005-03-22 Jeff Johnston <jjohnstn@redhat.com> * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on. diff --git a/newlib/configure.host b/newlib/configure.host index dbf0636..4323cc3 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -455,7 +455,8 @@ case "${host}" in default_newlib_io_long_long="yes" default_newlib_io_long_double="yes" default_newlib_io_pos_args="yes" - newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_FCNTL -DMALLOC_PROVIDED -I${cygwin_srcdir}/include" + CC="${CC} -I${cygwin_srcdir}/include" + newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_FCNTL -DMALLOC_PROVIDED" syscall_dir=syscalls ;; # RTEMS supplies its own versions of some routines: |