Page MenuHomeFreeBSD

Silence annoying and incorrect non-default linker warning with GCC
ClosedPublic

Authored by arichardson on Mar 2 2021, 5:57 PM.

Details

Summary

The CROSS_TOOLCHAIN GCC .mk files include -B${CROSS_BINUTILS_PREFIX}, so
GCC will select the right linker and we don't need to warn.
While here also apply 17b8b8fb5fc4acc832dabfe7ef11e3e1d399ad0f to kern.mk.

Test Plan

no more warning printed with CROSS_TOOLCHAIN=mips-gcc6

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.