From 3e288e273614ea329826d4378838b0596b532f07 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Thu, 24 Oct 1996 16:07:51 +0000 Subject: [PATCH] * 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. --- ChangeLog | 7 +++++++ Makefile.in | 6 ++++-- config/mh-windows | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d9d8f1716a2..877eb8e29aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Oct 24 09:02:07 1996 Stu Grossman (grossman@critters.cygnus.com) + + * 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. + Tue Oct 22 15:20:26 1996 Ian Lance Taylor * configure: Handle GCC_FOR_TARGET like CC_FOR_TARGET. 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 \ diff --git a/config/mh-windows b/config/mh-windows index e5f606c333d..e191981ec81 100644 --- a/config/mh-windows +++ b/config/mh-windows @@ -2,3 +2,4 @@ CC=cc CFLAGS= RANLIB=true AR_FLAGS= +HOST_FLAGS="srcroot=$(srcdir)" -- 2.30.2