aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <cgf@cygnus.com>2001-02-09 20:06:15 +0000
committerChristopher Faylor <cgf@gcc.gnu.org>2001-02-09 20:06:15 +0000
commitce675456284e5878b4cf8980b15114fca7b5a49a (patch)
treed1115449242c916cae53401fc32e3d2297f550db
parentcc0744d13f431f05e27f152ef6bb69ecee01c0f0 (diff)
downloadgcc-ce675456284e5878b4cf8980b15114fca7b5a49a.zip
gcc-ce675456284e5878b4cf8980b15114fca7b5a49a.tar.gz
gcc-ce675456284e5878b4cf8980b15114fca7b5a49a.tar.bz2
* config/i386/t-cygwin (T_CPPFLAGS): Use correct location for CYGWIN_CROSS_DIR.
From-SVN: r39569
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/t-cygwin2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 21467c8..6f9d780 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
+ CYGWIN_CROSS_DIR.
+
2001-02-09 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
diff --git a/gcc/config/i386/t-cygwin b/gcc/config/i386/t-cygwin
index 9f77143..1909f15 100644
--- a/gcc/config/i386/t-cygwin
+++ b/gcc/config/i386/t-cygwin
@@ -7,7 +7,7 @@ LIB1ASMFUNCS = _chkstk
# the build, it may not be installed yet.
LIMITS_H_TEST = true
-T_CPPFLAGS=-DCYGWIN_CROSS_DIR=\"$(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`\"
+T_CPPFLAGS=-DCYGWIN_CROSS_DIR=\"$(build_tooldir)\"
# If we are building next to winsup, this will let us find the real
# limits.h when building libgcc2. Otherwise, winsup must be installed