Handle -fcilkplus in Mac OS X LINK_COMMAND_SPEC
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Sat, 30 Apr 2016 06:27:10 +0000 (06:27 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Sat, 30 Apr 2016 06:27:10 +0000 (06:27 +0000)
* config/darwin.h (LINK_COMMAND_SPEC_A): Handle -fcilkplus.

From-SVN: r235675

gcc/ChangeLog
gcc/config/darwin.h

index e49d649a4d90604f4e76a41e6d4b0fdb061e6b02..545f4b58da8c77cc34710515552c84c19f54c6d1 100644 (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,
index c9981b815cd236732addc87489b04b4e27d00ff1..944548a74164d38b2cfd6e00343ed8618ce16fbd 100644 (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:\