Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-26 05:51:39 +0400
committerChristopher Faylor <me@cgf.cx>2003-07-26 05:51:39 +0400
commitc2af0de226df8a72766ec7fa19940b8177e958cd (patch)
treeea207d5adc99feaa97318995e597b2f896f6e585
parentffe3e7ef4f4b34b31bd49f388ea79df469bf5442 (diff)
* Makefile.in: Only use localhost when building mingw with distcc or gcc won't
be able to find .exp files on other hosts.
-rw-r--r--winsup/ChangeLog5
-rw-r--r--winsup/Makefile.common6
2 files changed, 11 insertions, 0 deletions
diff --git a/winsup/ChangeLog b/winsup/ChangeLog
index b409de956..72ef6859f 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-25 Christopher Faylor <cgf@redhat.com>
+
+ * Makefile.in: Only use localhost when building mingw with distcc or
+ gcc won't be able to find .exp files on other hosts.
+
2003-07-18 Vaclav Haisman <V.Haisman@sh.cvut.cz>
* Makefile.common (CFLAGS_COMMON): Remove -march=i386.
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index 8e5bbda9d..ea2b004a5 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -18,6 +18,7 @@ override srcdir:=${shell cd $(srcdir); pwd}
ifneq (,${filter-out /%,$(srcdir)})
updir:=$(srcdir)/..
updir1:=$(updir)/..
+ aux_dir:=$(updir)/../..
else
updir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(srcdir)):::}}
ifneq (,${findstring /,$(updir)})
@@ -25,6 +26,11 @@ ifneq (,${findstring /,$(updir)})
else
updir1:=$(updir)/..
endif
+ifneq (,${findstring /,$(updir1)})
+ aux_dir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(updir1)):::}}
+else
+ aux_dir:=$(updir1)/..
+endif
endif
pwd:=${shell pwd}