]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Makefile: enable USE_SHM_OPEN by default on freebsd
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Nov 2022 14:22:51 +0000 (15:22 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Nov 2022 14:24:23 +0000 (15:24 +0100)
The shm_open() feature seems to work on freebsd, let's enable it by
default on the freebsd target.

Makefile

index 953c0ea2d45511dd42f3f2b61dd9d24fda045f90..cfd9edeeecf3c31c7e6a4eaaab9dc1fbf759832c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -373,7 +373,7 @@ endif
 ifeq ($(TARGET),freebsd)
   set_target_defaults = $(call default_opts, \
     USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_CPU_AFFINITY USE_KQUEUE   \
-    USE_ACCEPT4 USE_CLOSEFROM USE_GETADDRINFO USE_PROCCTL)
+    USE_ACCEPT4 USE_CLOSEFROM USE_GETADDRINFO USE_PROCCTL USE_SHM_OPEN)
 endif
 
 # kFreeBSD glibc