diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 96a109138aa14c58afcabbc8fdce897fafc03683..528bcbd7d8b7a911750becebacf577baec587366 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -564,6 +564,8 @@ FLAGS_TO_PASS = \
 	"objext=$(objext)" \
 	"exec_prefix=$(exec_prefix)" \
 	"prefix=$(prefix)" \
+	"local_prefix=$(local_prefix)" \
+	"gxx_include_dir=$(gxx_include_dir)" \
 	"tooldir=$(tooldir)" \
 	"bindir=$(bindir)" \
 	"libsubdir=$(libsubdir)"
diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs
index 3ca2503b6a7de5e9e808b19a15938608c4b7bcc8..6fc29a42dc59ae4a9959b6a3316683788f88a9f3 100644
--- a/gcc/f/ChangeLog.egcs
+++ b/gcc/f/ChangeLog.egcs
@@ -1,3 +1,8 @@
+Sat Jan 17 21:28:08 1998  Pieter Nagel <pnagel@epiuse.co.za>
+
+	* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
+	local_prefix to sub-make invocations.
+
 Tue Jan 13 22:07:54 1998  Jeffrey A Law  (law@cygnus.com)
 
 	* lang-options.h: Add missing options.
diff --git a/gcc/f/Makefile.in b/gcc/f/Makefile.in
index 09b2c1aee1132a3a5e3e49a702eb06c6093cdba5..6fb7cedafb9aaae0114d95ab821601f214fbebb3 100644
--- a/gcc/f/Makefile.in
+++ b/gcc/f/Makefile.in
@@ -196,6 +196,8 @@ FLAGS_TO_PASS = \
 	"SHELL=$(SHELL)" \
 	"exec_prefix=$(exec_prefix)" \
 	"prefix=$(prefix)" \
+	"local_prefix=$(local_prefix)" \
+	"gxx_include_dir=$(gxx_include_dir)" \
 	"tooldir=$(tooldir)" \
 	"bindir=$(bindir)" \
 	"libsubdir=$(libsubdir)"