summaryrefslogtreecommitdiff
path: root/mk/pthread.builtin.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-26 08:18:30 +0000
committerjlam <jlam@pkgsrc.org>2004-11-26 08:18:30 +0000
commit96786425e0b37aa93c99205f4e6eeffdb33d968b (patch)
tree9296877c3ae29e92119e33dab16d95a049b40114 /mk/pthread.builtin.mk
parentb47bc866c03bce0c0b620651294ca41350e92f30 (diff)
downloadpkgsrc-96786425e0b37aa93c99205f4e6eeffdb33d968b.tar.gz
Don't append BUILDLINK_CFLAGS.pthread to itself if pthread.builtin.mk
gets included multiple times.
Diffstat (limited to 'mk/pthread.builtin.mk')
-rw-r--r--mk/pthread.builtin.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/pthread.builtin.mk b/mk/pthread.builtin.mk
index fed1754c551..334e9374cb1 100644
--- a/mk/pthread.builtin.mk
+++ b/mk/pthread.builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.builtin.mk,v 1.3 2004/11/26 08:12:59 jlam Exp $
+# $NetBSD: pthread.builtin.mk,v 1.4 2004/11/26 08:18:30 jlam Exp $
.for _lib_ in pthread c_r rt
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -38,6 +38,7 @@ CHECK_BUILTIN.pthread?= no
.if !empty(USE_BUILTIN.pthread:M[yY][eE][sS])
BUILDLINK_PREFIX.pthread= /usr
+BUILDLINK_CFLAGS.pthread= # empty
BUILDLINK_LDFLAGS.pthread= # empty
# only pass -pthread on platforms known to support it.