Sure thing. and it does :-)

On 3 November 2017 at 14:05, Willy TARREAU <wtarr...@haproxy.com> wrote:

> Hi David,
>
> On Fri, Nov 03, 2017 at 12:03:53PM +0000, David CARLIER wrote:
> > Hi
> >
> > Here is a tiny diff while I was trying to build under OpenBSD (not sure
> if
> > few other oses are affected like Solaris but this change is not overkill
> I
> > think).
>
> Cool, thanks, now applied. By the way since you're testing on openbsd,
> could you try with "make USE_THREAD=1" to see if threads build correctly
> or not ? If so we can enable them by default in the makefile (you can do
> it by setting USE_THREAD=implicit in the respective section, look for
> linux2628 and freebsd to have an idea).
>
> Willy
>
From a9bc473aa4da66115f4a57a35b17077f48ebf826 Mon Sep 17 00:00:00 2001
From: David Carlier <devne...@gmail.com>
Date: Fri, 3 Nov 2017 14:35:44 +0000
Subject: [PATCH] BUILD: enable USE_THREAD for OpenBSD build.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index f066f310..c897c025 100644
--- a/Makefile
+++ b/Makefile
@@ -335,6 +335,7 @@ ifeq ($(TARGET),openbsd)
   USE_KQUEUE     = implicit
   USE_TPROXY     = implicit
   USE_ACCEPT4    = implicit
+  USE_THREAD     = implicit
 else
 ifeq ($(TARGET),netbsd)
   # This is for NetBSD
-- 
2.14.2

Reply via email to