Handle -fcilkplus in Mac OS X LINK_COMMAND_SPEC

* config/darwin.h (LINK_COMMAND_SPEC_A): Handle -fcilkplus.

From-SVN: r235675
This commit is contained in:
Rainer Orth 2016-04-30 06:27:10 +00:00 committed by Rainer Orth
parent f1bebab697
commit c41de70aca
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-04-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/darwin.h (LINK_COMMAND_SPEC_A): Handle -fcilkplus.
2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.c (register_sh_passes, sh_option_override,

View File

@ -179,6 +179,7 @@ extern GTY(()) int darwin_ms_struct;
%{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
%{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1): \
%{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \
%{fcilkplus:%:include(libcilkrts.spec)%(link_cilkrts)}\
%{fgnu-tm: \
%{static|static-libgcc|static-libstdc++|static-libgfortran: libitm.a%s; : -litm } } \
%{!nostdlib:%{!nodefaultlibs:\