diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.in | 6 | ||||
-rw-r--r-- | config/mh-windows | 1 |
3 files changed, 12 insertions, 2 deletions
@@ -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 <ian@cygnus.com> * configure: Handle GCC_FOR_TARGET like CC_FOR_TARGET. diff --git a/Makefile.in b/Makefile.in index 9fccbd5..dc7621b 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 e5f606c..e191981 100644 --- a/config/mh-windows +++ b/config/mh-windows @@ -2,3 +2,4 @@ CC=cc CFLAGS= RANLIB=true AR_FLAGS= +HOST_FLAGS="srcroot=$(srcdir)" |