[toplevel PATCH] Shorten BASE_FLAGS_TO_PASS
Paolo Bonzini
bonzini@gnu.org
Sun Apr 25 19:45:00 GMT 2004
I believe that these are now unnecessary, and they were only
needed when Cygnus configure's toplevel Makefile could be used
for non-autoconfiscated packages. These will have
already been set in the module Makefiles at configure time,
and if they were overridden, $(MAKE) invocation would
pass them to the recursive make invocation.
Ok for mainline?
Paolo
2004-04-25 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via
TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.
diff -u gcc-save/Makefile.def gcc/Makefile.def
--- gcc-save/Makefile.def 2004-04-23 18:53:56.000000000 +0200
+++ gcc/Makefile.def 2004-04-25 00:06:27.000000000 +0200
@@ -144,23 +144,8 @@
flags_to_pass = { flag= DESTDIR ; };
flags_to_pass = { flag= RPATH_ENVVAR ; };
flags_to_pass = { flag= TARGET_SUBDIR ; };
-flags_to_pass = { flag= bindir ; };
-flags_to_pass = { flag= datadir ; };
-flags_to_pass = { flag= exec_prefix ; };
-flags_to_pass = { flag= includedir ; };
-flags_to_pass = { flag= infodir ; };
-flags_to_pass = { flag= libdir ; };
-flags_to_pass = { flag= libexecdir ; };
-flags_to_pass = { flag= lispdir ; };
flags_to_pass = { flag= libstdcxx_incdir ; };
-flags_to_pass = { flag= libsubdir ; };
-flags_to_pass = { flag= localstatedir ; };
-flags_to_pass = { flag= mandir ; };
flags_to_pass = { flag= oldincludedir ; };
-flags_to_pass = { flag= prefix ; };
-flags_to_pass = { flag= sbindir ; };
-flags_to_pass = { flag= sharedstatedir ; };
-flags_to_pass = { flag= sysconfdir ; };
flags_to_pass = { flag= tooldir ; };
flags_to_pass = { flag= build_tooldir ; };
flags_to_pass = { flag= gxx_include_dir ; };
diff -u gcc-save/Makefile.in gcc/Makefile.in
--- gcc-save/Makefile.in 2004-04-24 07:56:08.000000000 +0200
+++ gcc/Makefile.in 2004-04-24 23:56:18.000000000 +0200
@@ -394,23 +394,8 @@
"DESTDIR=$(DESTDIR)" \
"RPATH_ENVVAR=$(RPATH_ENVVAR)" \
"TARGET_SUBDIR=$(TARGET_SUBDIR)" \
- "bindir=$(bindir)" \
- "datadir=$(datadir)" \
- "exec_prefix=$(exec_prefix)" \
- "includedir=$(includedir)" \
- "infodir=$(infodir)" \
- "libdir=$(libdir)" \
- "libexecdir=$(libexecdir)" \
- "lispdir=$(lispdir)" \
"libstdcxx_incdir=$(libstdcxx_incdir)" \
- "libsubdir=$(libsubdir)" \
- "localstatedir=$(localstatedir)" \
- "mandir=$(mandir)" \
"oldincludedir=$(oldincludedir)" \
- "prefix=$(prefix)" \
- "sbindir=$(sbindir)" \
- "sharedstatedir=$(sharedstatedir)" \
- "sysconfdir=$(sysconfdir)" \
"tooldir=$(tooldir)" \
"build_tooldir=$(build_tooldir)" \
"gxx_include_dir=$(gxx_include_dir)" \
More information about the Gcc-patches
mailing list