* mswin/recordit: Fix problem with relative paths.
[deliverable/binutils-gdb.git] / Makefile.in
index 9fccbd59c29c9a6706afa00ad5f1bdcc243afc1c..a5a01154a117a56dfee2d29e2e4da39677584083 100644 (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
@@ -418,11 +418,7 @@ EXTRA_GCC_FLAGS = \
        'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
        'NM=$(NM)' \
        'RANLIB=$$(RANLIB_FOR_TARGET)' \
-       "GCC_FOR_TARGET=`if echo '$(MAKEFLAGS)' | grep CC_FOR_TARGET >/dev/null 2>&1; then \
-         echo '$$(CC_FOR_TARGET)'; \
-       else \
-         echo $(GCC_FOR_TARGET); \
-       fi`" \
+       'GCC_FOR_TARGET=$(GCC_FOR_TARGET)' \
        `if test x"$(LANGUAGES)" != x; then echo "LANGUAGES=$(LANGUAGES)"; fi` \
        `if test x"$(STMP_FIXPROTO)" != x; then echo "STMP_FIXPROTO=$(STMP_FIXPROTO)"; fi` \
        `if test x"$(LIMITS_H_TEST)" != x; then echo "LIMITS_H_TEST=$(LIMITS_H_TEST)"; fi` \
@@ -1058,7 +1054,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 \
@@ -1571,6 +1569,7 @@ newlib.tar.gz: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib
                DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" newlib
 
 .NOEXPORT:
+MAKEOVERRIDES=
 
 # start-sanitize-chill
 ## This is ugly, but I don't want GNU make to put these variables in
This page took 0.022215 seconds and 4 git commands to generate.