HomeFreeBSD

build: glibc on Linux defines explicit_bzero in <string.h>.

Description

build: glibc on Linux defines explicit_bzero in <string.h>.

Don't install strings.h on such systems. The local prototype doesn't
match the native Linux one when built as C++ breaking the build of
config(8) as a bootstrap tool on some Linux systems. If the missing
prototype becomes a problem in the future,
tools/build/cross-build/include/linux/strings.h can be patched to add
it.

Reviewed by: imp, emaste
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D39289

Details

Provenance
jhbAuthored on Mar 27 2023, 9:27 PM
Reviewer
imp
Differential Revision
D39289: build: glibc on Linux defines explicit_bzero in <string.h>.
Parents
rGf59727087b11: CONTRIBUTING.md: Fix checkstyle9.pl name
Branches
Unknown
Tags
Unknown