* Makefile.in: Only use localhost when building mingw with distcc or gcc won't

be able to find .exp files on other hosts.
This commit is contained in:
Christopher Faylor 2003-07-26 01:51:39 +00:00
parent ffe3e7ef4f
commit c2af0de226
2 changed files with 11 additions and 0 deletions

View File

@ -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.

View File

@ -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}