diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-23 17:09:29 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-23 17:09:29 +0000 |
commit | e633fde1baed0151958929cb630311a22df54cad (patch) | |
tree | f27e3ff5f97f20b5ea2fa40d7279b9ebfc506e5c | |
parent | 45f063e7431da741f7a454b352a444400c3227a7 (diff) | |
download | newlib-e633fde1baed0151958929cb630311a22df54cad.zip newlib-e633fde1baed0151958929cb630311a22df54cad.tar.gz newlib-e633fde1baed0151958929cb630311a22df54cad.tar.bz2 |
* 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.
-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: |