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