HomeFreeBSD

ssp: appease -Wgnu-statement-expression-from-macro-expansion

Description

ssp: appease -Wgnu-statement-expression-from-macro-expansion

It's a stupid warning, but some ports enable it by default and were
already defining _FORTIFY_SOURCE, thus exposing the new macros
immediately. This at least fixes the libfido2 build, perhaps others as
well.

While we're here, fix a fresh build of stand w/ FORTIFY_SOURCE enabled
by not pulling in the ssp headers if _STANDALONE is defined. We do not
have runtime support in libsa as of the time of writing.

Reported by: netchild
Sponsored by: Stormshield
Sponsored by: Klara, Inc.

Details

Provenance
kevansAuthored on May 14 2024, 11:16 PM
Parents
rGc6113ac5a2c2: AMD CPUs: update bits and data from CPUID 0x8000_0008
Branches
Unknown
Tags
Unknown