* 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.
This commit is contained in:
Stu Grossman 1996-10-24 16:07:51 +00:00
parent 20fbbb592b
commit 3e288e2736
3 changed files with 12 additions and 2 deletions

View File

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

View File

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

View File

@ -2,3 +2,4 @@ CC=cc
CFLAGS=
RANLIB=true
AR_FLAGS=
HOST_FLAGS="srcroot=$(srcdir)"