summaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-01 00:19:24 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-01 00:19:24 +0000
commit8271b9664424a5d08807b7b6429f7b47b566f3a2 (patch)
treebc6a0299750d5af207ceb8cfc2dd5ed3e2f0d9dc /gcc/config.in
parent7e320b166029a9379bd23e62dc5d1dabba264ce5 (diff)
downloadgcc-8271b9664424a5d08807b7b6429f7b47b566f3a2.tar.gz
* configure.ac (HAVE_LD_BUILDID): New check for ld --build-id
support. (ENABLE_LD_BUILDID): New configuration option. * gcc.c [HAVE_LD_BUILDID and ENABLE_LD_BUILDID] (LINK_BUILDID_SPEC): New macro. (init_spec): If defined, prepend it between LINK_EH_SPEC and link_spec. * doc/install.texi: Document --enable-linker-build-id option. * configure: Rebuild. * config.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147029 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 9cbae32cd4d..76a7810f3d4 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -101,6 +101,12 @@
#endif
+/* Define if gcc should always pass --build-id to linker. */
+#ifndef USED_FOR_TARGET
+#undef ENABLE_LD_BUILDID
+#endif
+
+
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#ifndef USED_FOR_TARGET
@@ -1025,6 +1031,12 @@
#endif
+/* Define if your linker supports --build-id. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_LD_BUILDID
+#endif
+
+
/* Define if your linker supports --demangle option. */
#ifndef USED_FOR_TARGET
#undef HAVE_LD_DEMANGLE