summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.graphite/graphite.exp
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/testsuite/libgomp.graphite/graphite.exp')
-rw-r--r--libgomp/testsuite/libgomp.graphite/graphite.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.graphite/graphite.exp b/libgomp/testsuite/libgomp.graphite/graphite.exp
index 08aa5095cf9..9129964eb19 100644
--- a/libgomp/testsuite/libgomp.graphite/graphite.exp
+++ b/libgomp/testsuite/libgomp.graphite/graphite.exp
@@ -42,6 +42,9 @@ set PARALLEL_CFLAGS "-ansi -pedantic-errors -O2 \
# Initialize `dg'.
dg-init
+# Turn on OpenMP.
+lappend ALWAYS_CFLAGS "additional_flags=-fopenmp"
+
# Gather a list of all tests.
set tests [lsort [find $srcdir/$subdir *.c]]