diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 552da88f5..e4af37950 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2005-03-23 Christopher Faylor + + * 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 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on. diff --git a/newlib/configure.host b/newlib/configure.host index dbf063676..4323cc3c0 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: