HomeFreeBSD

security/libgcrypt: Fix regression

Description

security/libgcrypt: Fix regression

In order to harvest the best entropy jitterentropy-base.c requires
that the compiler not optimize out any of its code. To ensure this
the cipher and randmom makefiles remove optmization options. This
will work in cases where the user has specified, for instance,
CFLAGS=-O3 but will not work when CFLAGS+=-O3 is specified. These
makefiles will only remove the first occurrence of the optimization
flag, resulting in a build failure. This patch alters the "munging"
sed command to remove all optimization options.

PR: 280081
MFH: 2024Q3

Details

Provenance
diizzyAuthored on Jul 13 2024, 4:35 AM
cyCommitted on Jul 13 2024, 4:45 AM
Parents
R11:4e0616a2066d: graphics/libavif: drop maintainership
Branches
Unknown
Tags
Unknown