aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r--binutils/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 252d486..b5fcd5f 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -114,6 +114,7 @@ CC_FOR_TARGET = ` \
check-DEJAGNU: site.exp
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
+ r=`pwd`; export r; \
EXPECT=$(EXPECT); export EXPECT; \
if [ -f $(top_builddir)/../expect/expect ]; then \
TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
@@ -253,7 +254,7 @@ windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
.dep1: $(CFILES) $(GENERATED_CFILES)
rm -f .dep2
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
- $(DEP) -f .dep2 $(ALL_CFLAGS) $?
+ $(DEP) -f .dep2 $(INCLUDES) $?
$(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
dep.sed: dep-in.sed config.status