diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2006-12-04 02:10:10 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2006-12-04 02:10:10 +0000 |
commit | bd6a088940b915e561699648901bf1e6c5effddd (patch) | |
tree | 638a02afc406ea4648454e7cceb73bf95b4020b0 /gcc/config/darwin9.h | |
parent | d184546c666db41955881ac4abacb1651064596a (diff) | |
download | gcc-bd6a088940b915e561699648901bf1e6c5effddd.zip gcc-bd6a088940b915e561699648901bf1e6c5effddd.tar.gz gcc-bd6a088940b915e561699648901bf1e6c5effddd.tar.bz2 |
re PR target/24598 (Need to support odcctools and its ablity to use --prefix and libtool)
2006-12-03 Eric Christopher <echristo@apple.com>
PR target/24598
* config/t-slibgcc-darwin: Pass -install_name.
* config/darwin.h (LINK_COMMAND_SPEC): Remove use of
libtool. Only pass through options that the linker recognizes.
(LINK_SPEC): Update comment. Translate options.
(STARTFILE_SPEC): Add dylib1.o for shared libraries.
* config/darwin9.h (LINK_COMMAND_SPEC): Ditto above.
From-SVN: r119477
Diffstat (limited to 'gcc/config/darwin9.h')
-rw-r--r-- | gcc/config/darwin9.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h index ef9890a..58e9806 100644 --- a/gcc/config/darwin9.h +++ b/gcc/config/darwin9.h @@ -6,9 +6,8 @@ #undef LINK_COMMAND_SPEC #define LINK_COMMAND_SPEC "\ %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ - %{!Zdynamiclib:%(linker)}%{Zdynamiclib:/usr/bin/libtool} \ - %l %X %{d} %{s} %{t} %{Z} \ - %{!Zdynamiclib:%{A} %{e*} %{m} %{N} %{n} %{r} %{u*} %{x} %{z}} \ + %(linker) %l %X %{d} %{s} %{t} %{Z} \ + %{A} %{e*} %{m} %{r} %{x} \ %{o*}%{!o:-o a.out} \ %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ %{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \ |