]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/newlib-tumbl.git/commitdiff
* configure.host: For cygwin, redefine CC with cygwin include directory first
authorChristopher Faylor <cgf@redhat.com>
Wed, 23 Mar 2005 17:09:29 +0000 (17:09 +0000)
committerChristopher Faylor <cgf@redhat.com>
Wed, 23 Mar 2005 17:09:29 +0000 (17:09 +0000)
to mimic the behavior of the top-level configury.  Move include directory out
of newlib_cflags.

newlib/ChangeLog
newlib/configure.host

index 552da88f513b88b45c84d3ae42a20f50f266e740..e4af37950897b741db5df0e1302c50aabb304b7d 100644 (file)
@@ -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.
index dbf0636765280407b8760cb98357fdcbb3c17671..4323cc3c0d192f5f2a665c65f9bfa22c0fd7d01f 100644 (file)
@@ -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: