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 /newlib/configure.host | |
parent | 45f063e7431da741f7a454b352a444400c3227a7 (diff) | |
download | cygnal-e633fde1baed0151958929cb630311a22df54cad.tar.gz cygnal-e633fde1baed0151958929cb630311a22df54cad.tar.bz2 cygnal-e633fde1baed0151958929cb630311a22df54cad.zip |
* 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.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 3 |
1 files changed, 2 insertions, 1 deletions
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: |