app-forensics/aflplusplus: fix man page

Closes: https://bugs.gentoo.org/940252
Thanks-to: Nick Bowler <nbowler@draconx.ca>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-10-05 03:08:42 +01:00
parent 1fef0deff4
commit b57ec2cd26

View File

@@ -67,7 +67,17 @@ pkg_setup() {
}
mymake() {
emake \
# afl-fuzz spews garbage to stdout if the environment contains any
# variables whose name beginning with USE_ (including the underscore),
# regardless of their value (even if empty!). The ebuild environment
# contains several such variables and the garbage that gets printed
# ends up in the generated man page.
#
# We can work around the problem by unsetting all these variables when
# running make.
local badvars=("${!USE_@}")
env "${badvars[@]/#/-u}" emake \
CC="$(tc-getCC)" \
CXX="$(tc-getCXX)" \
CFLAGS_FLTO="" \