File: libcilkrts-targets.diff

package info (click to toggle)
gcc-6 6.3.0-18%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 97,120 kB
  • sloc: makefile: 2,249; sh: 956; python: 829; perl: 165; awk: 23; cpp: 14
file content (21 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# DP: Disable libcilkrts on KFreeBSD and the Hurd. See #734973.

Index: b/src/libcilkrts/configure.tgt
===================================================================
--- a/src/libcilkrts/configure.tgt
+++ b/src/libcilkrts/configure.tgt
@@ -44,3 +44,14 @@ esac
 
 # Disable libcilkrts on non POSIX hosted systems.
 . ${srcdir}/../config/target-posix
+
+# Disable libcilkrts on KFreeBSD and the Hurd.
+if test x$enable_libcilkrts = x ; then
+    case "${target}" in
+    *-*-linux*)
+        ;;
+    *-*-gnu* | *-*-k*bsd*-gnu)
+        UNSUPPORTED=1
+        ;;
+    esac
+fi