]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix crossbuild bootstrap tools build with Clang 12
authorAlex Richardson <arichardson@FreeBSD.org>
Wed, 10 Feb 2021 11:05:02 +0000 (11:05 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Wed, 17 Feb 2021 09:54:59 +0000 (09:54 +0000)
commit02af91c52e71e8a0f47251e637c9687f35d45dd9
treeb2a5cad22d074b12fc2d4806e853613e4845e46b
parent8a439f324e9010a122fa4c00426bde70dc373c2f
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
tools/build/libc-bootstrap/namespace.h
tools/build/libc-bootstrap/un-namespace.h