re PR target/26657 (With -fopenmp, gcc does not link with -lgomp)

2006-03-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/26657
        * config/darwin.h (LINK_COMMAND_SPEC): Handle -fopenmp.

From-SVN: r112041
This commit is contained in:
Andrew Pinski 2006-03-14 01:19:16 +00:00 committed by Andrew Pinski
parent 716019c0ad
commit 0e512a4f6b
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-03-14 Andrew Pinski <pinskia@physics.uc.edu>
PR target/26657
* config/darwin.h (LINK_COMMAND_SPEC): Handle -fopenmp.
2006-03-14 Joseph S. Myers <joseph@codesourcery.com>
* config/rs6000/rs6000.opt (mdlmzb): New option.

View file

@ -206,7 +206,8 @@ Boston, MA 02110-1301, USA. */
%{!Zdynamiclib:%{A} %{e*} %{m} %{N} %{n} %{r} %{u*} %{x} %{z}} \
%{@:-o %f%u.out}%{!@:%{o*}%{!o:-o a.out}} \
%{!Zdynamiclib:%{!A:%{!nostdlib:%{!nostartfiles:%S}}}} \
%{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \
%{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \
%(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \
%{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}}"