diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-31 13:52:42 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-31 13:52:42 +0000 |
commit | e6937b3ac033d790b8b958c87ce1130c0ec428ac (patch) | |
tree | e89584ce528d3f9d743b6a0d3da88c5ce5808271 /gcc/gcc.c | |
parent | 382ffb703e546749f42f940beb2b8ab75e994d8d (diff) | |
download | gcc-e6937b3ac033d790b8b958c87ce1130c0ec428ac.tar.gz |
gcc:
* configure.ac (gcc_cv_ld_static_option): Define.
(gcc_cv_ld_dynamic_option): Define.
(gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
instead.
(HAVE_LD_STATIC_DYNAMIC): Update message.
(LD_STATIC_OPTION): Define.
(LD_DYNAMIC_OPTION): Define.
* configure: Regenerate.
* config.in: Regenerate.
* gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
HAVE_LD_STATIC_DYNAMIC]: Use them.
gcc/cp:
* g++spec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
gcc/fortran:
* gfortranspec.c (add_arg_libgfortran) [HAVE_LD_STATIC_DYNAMIC] Use
LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
gcc/go:
* gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169435 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index ea3403b5ca9..1736b091fb1 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -1375,7 +1375,8 @@ init_spec (void) "-lgcc_eh" #ifdef USE_LIBUNWIND_EXCEPTIONS # ifdef HAVE_LD_STATIC_DYNAMIC - " %{!static:-Bstatic} -lunwind %{!static:-Bdynamic}" + " %{!static:" LD_STATIC_OPTION "} -lunwind" + " %{!static:" LD_DYNAMIC_OPTION "}" # else " -lunwind" # endif |