DEV: haring: update readme to suggest using the same build options for haring

It's not necessarily obvious so better suggest it there to use the same
build options, and indicate the tradeoffs (e.g. depend on more libs).
This commit is contained in:
Willy Tarreau 2023-05-04 08:13:44 +02:00
parent 46e0ea33e2
commit b83bf68ec0
1 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,8 @@ This needs to be built from the top makefile, for example :
make dev/haring/haring
If HAProxy is built with special options such -DDEBUG_THREAD or with
multi-threading support enabled (which changes the ring's header size),
it can be worth reusing the same build options for haring, usually they
will remain compatible, and will simplify the handling of different file
layouts, at the expense of dragging more dependencies into the executable.