summaryrefslogtreecommitdiff
path: root/gcc/config/t-openbsd-thread
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/t-openbsd-thread')
-rw-r--r--gcc/config/t-openbsd-thread3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/t-openbsd-thread b/gcc/config/t-openbsd-thread
new file mode 100644
index 000000000..5f4edf567
--- /dev/null
+++ b/gcc/config/t-openbsd-thread
@@ -0,0 +1,3 @@
+# This is currently needed to compile libgcc2 for threads support
+TARGET_LIBGCC2_CFLAGS=-pthread
+