]> git.kaiwu.me - haproxy.git/commit
BUILD: Hopefully fix build on FreeBSD
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 2 Oct 2026 15:24:20 +0000 (17:24 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 2 Oct 2026 15:24:34 +0000 (17:24 +0200)
commit800c35cfc6905521079e6e7608e235890afaf42d
treef8c17ab1cf6a86a5d595f7e0f884966929de2766
parent0864cb4c99c842738e39275992e4d8164695ac9b
BUILD: Hopefully fix build on FreeBSD

Commit 005038b80d468cdca0a9fdcb4b3c993ec02f8367 introduced a new script,
to inject the gnu_debugdata section into the binary. However, the script
used %b to print binary values, and %b behaves differently on Linux and
FreeBSD shells, and on FreeBSD, it would end up corrupting the binary,
making it crash on start.
Fix that by avoid using %b at all.
scripts/minidbg.sh