aboutsummaryrefslogtreecommitdiff
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
commit586c0873792f146255b2dd143555801f10a0093d (patch)
treee91b79298811e7e2f5c1f3c058348e8f0840b6e5 /Makefile.tpl
parent86669319d0e6f1aa3f7b7d1faae472dbc3a569bc (diff)
downloadgdb-586c0873792f146255b2dd143555801f10a0093d.zip
gdb-586c0873792f146255b2dd143555801f10a0093d.tar.gz
gdb-586c0873792f146255b2dd143555801f10a0093d.tar.bz2
* 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 5e42382..94cc027 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; \