summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-01-10 21:43:31 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-01-10 21:43:31 +0000
commit79f53f449795b9889783dea848ecfdb53c36fa89 (patch)
tree16e1ea12eecf05d424b075f6a7809265ce51b674 /Makefile.tpl
parentc29b416fb2e103c7cee898ed3d1063c48479d17c (diff)
downloadgdb-79f53f449795b9889783dea848ecfdb53c36fa89.tar.gz
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc. * Makefile.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 5e423826cdd..94cc0279ebf 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -49,6 +49,9 @@ enable_version_specific_runtime_libs = @enable_version_specific_runtime_libs@
gcc_version_trigger = @gcc_version_trigger@
gcc_version = @gcc_version@
+# The gcc driver likes to know the arguments it was configured with.
+TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
+
srcdir = @srcdir@
prefix = @prefix@
@@ -1105,6 +1108,7 @@ configure-gcc:
CFLAGS="$(CFLAGS)"; export CFLAGS; \
CXX="$(CXX)"; export CXX; \
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
+ TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
AR="$(AR)"; export AR; \
AS="$(AS)"; export AS; \