diff options
author | schmonz <schmonz@pkgsrc.org> | 2019-01-17 16:43:36 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2019-01-17 16:43:36 +0000 |
commit | bec4bd506ad6c3aa9b92544fb4c06848162b4e67 (patch) | |
tree | e732ca2452eb8fd63d7b031fcb6cb46bd5581f0e /archivers | |
parent | 1a3f3f419bb99e538e722492e0ec0bfa05451b11 (diff) | |
download | pkgsrc-bec4bd506ad6c3aa9b92544fb4c06848162b4e67.tar.gz |
On OpenBSD, "code using the sigwait() function must be compiled and
linked with the -pthread option".
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gtar-base/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile index 40516c69004..ffb83d1feca 100644 --- a/archivers/gtar-base/Makefile +++ b/archivers/gtar-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.93 2018/03/11 17:28:08 wiz Exp $ +# $NetBSD: Makefile,v 1.94 2019/01/17 16:43:36 schmonz Exp $ .include "../../archivers/gtar/Makefile.common" @@ -48,6 +48,10 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes CPPFLAGS.MirBSD+= -Dstrtoimax=strtoll -Dstrtoumax=strtoull +# From sigwait(3): +CFLAGS.OpenBSD+= -pthread +LDFLAGS.OpenBSD+= -pthread + #bug 20453 in bug-gzip list, passed onto gnulib CONFIGURE_ENV.AIX+= ac_cv_header_wctype_h=no |