[TOP LEVEL PATCH] configure.in: Remove newlib/libc/sys/cygwin dirs from FLAGS_FOR_TARGET
Corinna Vinschen
vinschen@redhat.com
Mon May 12 13:59:00 GMT 2003
Hi,
today I've removed the files from newlib's cygwin sys directory and moved
them into the appropriate directories under winsup/cygwin.
Therefore the include paths newlib/libc/sys/cygwin and
newlib/libc/sys/cygwin32 are not needed anymore in FLAGS_FOR_TARGET when
building for Cygwin, the cygwin32 path was already superfluous for a long
time.
I've removed them from the affected FLAGS_FOR_TARGET assignments in
configure.in.
Corinna
2003-05-12 Corinna Vinschen <corinna@vinschen.de>
* configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin
and $$s/newlib/libc/sys/cygwin32 include paths.
* configure: Ditto.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/configure.in,v
retrieving revision 1.160
diff -p -u -r1.160 configure.in
--- configure.in 19 Apr 2003 00:19:40 -0000 1.160
+++ configure.in 12 May 2003 13:47:33 -0000
@@ -1827,7 +1827,7 @@ case " $target_configdirs " in
*" --with-newlib "*)
case "$target" in
*-cygwin*)
- FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include -isystem $$s/newlib/libc/sys/cygwin -isystem $$s/newlib/libc/sys/cygwin32' ;;
+ FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' ;;
esac
# If we're not building GCC, don't discard standard headers.
Index: configure
===================================================================
RCS file: /cvs/src/src/configure,v
retrieving revision 1.67
diff -p -u -r1.67 configure
--- configure 19 Apr 2003 00:19:40 -0000 1.67
+++ configure 12 May 2003 13:47:31 -0000
@@ -2488,7 +2488,7 @@ case " $target_configdirs " in
*" --with-newlib "*)
case "$target" in
*-cygwin*)
- FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include -isystem $$s/newlib/libc/sys/cygwin -isystem $$s/newlib/libc/sys/cygwin32' ;;
+ FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' ;;
esac
# If we're not building GCC, don't discard standard headers.
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com
More information about the Binutils
mailing list