HomeFreeBSD

Fix crossbuild bootstrap tools build with Clang 12

Description

Fix crossbuild bootstrap tools build with Clang 12

Clang 12 no longer allows re-defining a weak symbol as non-weak. This
happed here because we compile err.c with _err defined to err. To fix
this, use the same approach as the libc namespace.h

(cherry picked from commit 02af91c52e71e8a0f47251e637c9687f35d45dd9)

Details

Provenance
arichardsonAuthored on Feb 10 2021, 11:05 AM
Parents
rGa24b7455e869: bin/pkill: Fix {pgrep,pkill}-j_test.sh
Branches
Unknown
Tags
Unknown