summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-10-24 16:07:51 +0000
committerStu Grossman <grossman@cygnus>1996-10-24 16:07:51 +0000
commit3e288e273614ea329826d4378838b0596b532f07 (patch)
tree759ca4a81db8d89d2a5fdf31e83d2b80500fce20 /Makefile.in
parent20fbbb592b33dc8d7ecb46beb383b3a2a4416813 (diff)
downloadbinutils-gdb-3e288e273614ea329826d4378838b0596b532f07.tar.gz
* Makefile.in (FLAGS_TO_PASS): Add $(HOST_FLAGS) to allow the
host to add it's own flags. * config/mh-windows (HOST_FLAGS): Set srcroot, which is needed for MSVC build procedure.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 9fccbd59c29..dc7621b2d3c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -357,7 +357,7 @@ EXTRA_HOST_FLAGS = \
'RANLIB=$(RANLIB)'
-FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
+FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(HOST_FLAGS)
# Flags that are concerned with the location of the X11 include files
# and library files
@@ -1058,7 +1058,9 @@ $(CONFIGURE_TARGET_MODULES):
fi; \
fi; exit 0 # break command into two pieces
@dir=`echo $@ | sed -e 's/configure-target-//'`; \
- if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
+ if [ ! -d $(TARGET_SUBDIR) ]; then \
+ true; \
+ elif [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
true; \
elif echo " $(TARGET_CONFIGDIRS) " | grep " $${dir} " >/dev/null 2>&1; then \
if [ -d $(srcdir)/$${dir} ]; then \