summaryrefslogtreecommitdiff
path: root/debian/patches/libgomp-kfreebsd-testsuite.diff
blob: acac2733fbeda197e27775fef58db0a5130448b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# DP: Disable lock-2.c test on kfreebsd-*

Index: b/src/libgomp/testsuite/libgomp.c/lock-2.c
===================================================================
--- a/src/libgomp/testsuite/libgomp.c/lock-2.c
+++ b/src/libgomp/testsuite/libgomp.c/lock-2.c
@@ -4,6 +4,9 @@
 int
 main (void)
 {
+#ifdef __FreeBSD_kernel__
+  return 1;
+#endif
   int l = 0;
   omp_nest_lock_t lock;
   omp_init_nest_lock (&lock);