summaryrefslogtreecommitdiff
path: root/lib/libpthread/support/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/support/Makefile.inc')
-rw-r--r--lib/libpthread/support/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libpthread/support/Makefile.inc b/lib/libpthread/support/Makefile.inc
new file mode 100644
index 000000000000..27f65245acd0
--- /dev/null
+++ b/lib/libpthread/support/Makefile.inc
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/support
+
+SRCS += thr_support.c
+SOBJS+= thr_libc.So
+
+thr_libc.So: thr_support.So
+ ${CC} -nostdlib -L/usr/lib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic
+