aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-04-01 16:45:34 +0000
committerJakub Jelinek <jakub@gcc.gnu.org>2004-04-01 18:45:34 +0200
commit765f1bf9e4451e97ccfba21bc2d9dcee8580fb31 (patch)
tree1a3ce88b8909a989116b51749ef3a5f061786ed7 /gcc/config.in
parent45dcc026e55601992454c81ff5c171a58a5ac4b9 (diff)
downloadgcc-765f1bf9e4451e97ccfba21bc2d9dcee8580fb31.zip
gcc-765f1bf9e4451e97ccfba21bc2d9dcee8580fb31.tar.gz
gcc-765f1bf9e4451e97ccfba21bc2d9dcee8580fb31.tar.bz2
gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with -lgcc --as-needed -lgcc_s --no-as-needed by default.
* gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with -lgcc --as-needed -lgcc_s --no-as-needed by default. * configure.ac (HAVE_LD_AS_NEEDED): Check for ld --as-needed. * configure: Rebuilt. * config.in: Rebuilt. * Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT). (stage2-start, stage3-start, stage4-start): Likewise. (stageprofile-start, stagefeedback-start): Likewise. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r80302
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 35cb545..2d8f583 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -306,6 +306,9 @@
/* Define to 1 if you have the <ldfcn.h> header file. */
#undef HAVE_LDFCN_H
+/* Define if your linker supports --as-needed and --no-as-needed options. */
+#undef HAVE_LD_AS_NEEDED
+
/* Define if your linker supports --eh-frame-hdr option. */
#undef HAVE_LD_EH_FRAME_HDR