mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
BUILD: makefile: disable threads by default on OpenBSD
As reported by Ilya in issue #725, building with threads on OpenBSD is broken with gcc: include/haproxy/tinfo.h:30: error: thread-local storage not supported for this target Better stay safe and disable it. Clang seems to support (or emulate) thread-local, at least it builds. Those willing to experiment can easily pass USE_THREAD=1.
This commit is contained in:
parent
f3f4aa0266
commit
45e83e8c56
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -378,7 +378,7 @@ endif
|
|||
# OpenBSD 5.7 and above
|
||||
ifeq ($(TARGET),openbsd)
|
||||
set_target_defaults = $(call default_opts, \
|
||||
USE_POLL USE_TPROXY USE_THREAD USE_KQUEUE USE_ACCEPT4)
|
||||
USE_POLL USE_TPROXY USE_KQUEUE USE_ACCEPT4)
|
||||
endif
|
||||
|
||||
# NetBSD
|
||||
|
|
|
|||
Loading…
Reference in a new issue