Index: gcc/gcc/config/darwin9.h |
diff --git a/gcc/gcc/config/darwin9.h b/gcc/gcc/config/darwin9.h |
index 390f8e577fe32e5b7ac14f83066c15bec9d4bb21..a03e77271ebdd4c8a17111410e312ca407b7e132 100644 |
--- a/gcc/gcc/config/darwin9.h |
+++ b/gcc/gcc/config/darwin9.h |
@@ -1,5 +1,5 @@ |
/* Target definitions for Darwin (Mac OS X) systems. |
- Copyright (C) 2006, 2007 Free Software Foundation, Inc. |
+ Copyright (C) 2006, 2007, 2010 Free Software Foundation, Inc. |
Contributed by Apple Inc. |
This file is part of GCC. |
@@ -31,9 +31,11 @@ along with GCC; see the file COPYING3. If not see |
%{A} %{e*} %{m} %{r} %{x} \ |
%{o*}%{!o:-o a.out} \ |
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ |
- %{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \ |
- %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \ |
- %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \ |
+ %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ |
+ %{flto} %{fwhopr} \ |
+ %{fopenmp|ftree-parallelize-loops=*: \ |
+ %{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \ |
+ %{!nostdlib:%{!nodefaultlibs: %(link_ssp) %G %L }} \ |
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\ |
%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ |
%{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \ |