diff options
author | Jack Howarth <howarth@bromo.med.uc.edu> | 2012-05-29 23:20:33 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2012-05-29 23:20:33 +0000 |
commit | 3127f133956d5c91e59c6fa3ef270eb19fdd612a (patch) | |
tree | 92331bef941213311bd8af149b3f0049cc6dcf3d /gcc/config/darwin.h | |
parent | 2df2ce3f78cc3213b703fc87ec2cccbf1721dfdb (diff) | |
download | gcc-3127f133956d5c91e59c6fa3ef270eb19fdd612a.zip gcc-3127f133956d5c91e59c6fa3ef270eb19fdd612a.tar.gz gcc-3127f133956d5c91e59c6fa3ef270eb19fdd612a.tar.bz2 |
darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when Darwin >= 10.
2012-05-29 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when
Darwin >= 10.
(DARWIN_DYLIB1_SPEC): Do not use -ldylib1.10.5.o when Darwin >= 10.
(DARWIN_CRT1_SPEC): Use -lcrt1.10.6.o when Darwin >= 10.
From-SVN: r187992
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 3e6efd7..80ff0b0 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -356,7 +356,9 @@ extern GTY(()) int darwin_ms_struct; %{!Zbundle:%{pg:%{static:-lgcrt0.o} \ %{!static:%{object:-lgcrt0.o} \ %{!object:%{preload:-lgcrt0.o} \ - %{!preload:-lgcrt1.o %(darwin_crt2)}}}} \ + %{!preload:-lgcrt1.o \ + %:version-compare(>= 10.8 mmacosx-version-min= -no_new_main) \ + %(darwin_crt2)}}}} \ %{!pg:%{static:-lcrt0.o} \ %{!static:%{object:-lcrt0.o} \ %{!object:%{preload:-lcrt0.o} \ @@ -379,7 +381,7 @@ extern GTY(()) int darwin_ms_struct; #define DARWIN_CRT1_SPEC \ "%:version-compare(!> 10.5 mmacosx-version-min= -lcrt1.o) \ %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lcrt1.10.5.o) \ - %:version-compare(>= 10.6 mmacosx-version-min= -lcrt1.10.6.o) \ + %:version-compare(>< 10.6 10.8 mmacosx-version-min= -lcrt1.10.6.o) \ %{fgnu-tm: -lcrttms.o}" /* Default Darwin ASM_SPEC, very simple. */ |