From bec4bd506ad6c3aa9b92544fb4c06848162b4e67 Mon Sep 17 00:00:00 2001 From: schmonz Date: Thu, 17 Jan 2019 16:43:36 +0000 Subject: On OpenBSD, "code using the sigwait() function must be compiled and linked with the -pthread option". --- archivers/gtar-base/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3