]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: fix kFreeBSD build.
authorDavid Carlier <devnexen@gmail.com>
Fri, 4 Mar 2022 15:50:48 +0000 (15:50 +0000)
committerWilly Tarreau <w@1wt.eu>
Fri, 4 Mar 2022 16:19:12 +0000 (17:19 +0100)
commit43a568575f9c14ce57ab437602dbdc089574cc33
tree2c9af49ba1f78a779c71ce797d49d4d721d63298
parentc055e30176f5cd3010c942ea80458e1ca8205f20
BUILD: fix kFreeBSD build.

kFreeBSD needs to be treated as a distinct target from FreeBSD
since the underlying system libc is the GNU one. Thus, relying
only on __GLIBC__ no longer suffice.

- freebsd-glibc new target, key difference is including crypt.h
  and linking to libdl like linux.
- cpu affinity available but the api is still the FreeBSD's.
- enabling auxiliary data access only for Linux.

Patch based on preliminary work done by @bigon.

closes #1555
Makefile
include/haproxy/cpuset-t.h
src/tools.c