aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-01-08 01:37:00 +0000
committerJan Hubicka <jh@suse.cz>2011-01-08 01:37:00 +0000
commit71a5ae7460dfdba7efcf2acdd6578e246d99d852 (patch)
tree6f419805e71a133ecdcbe5137da91c38f6dab263 /gcc/config.in
parentd93881f352ab3ffefba3fe722d8b346680aa5fb9 (diff)
* Makefile.in: Regenerate.
* Makefile.def (gcc host module) and soft dependency on lto-plugin and configure dependency on lto-plugin configure. (lto-plugin module): Remove dependency on GCC; add dependency on liniberty. * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults and no longer claim that gold is required for linker plugin. * configure: Regenerate. * gcc.c (PLUGIN_COND): New macro. (LINK_COMMAND_SPEC): Use it. (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. * config.in (HAVE_LTO_PLUGIN): New. * configure.ac (--with-lto-plugin): New parameter; autodetect HAVE_LTO_PLUGIN. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@168593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index f129f3dec4b..9df41a1635c 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -1142,6 +1142,10 @@
#undef HAVE_LDFCN_H
#endif
+/* Define if your linker supports plugin. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_LTO_PLUGIN
+#endif
/* Define if your linker supports --as-needed and --no-as-needed options. */
#ifndef USED_FOR_TARGET