Page MenuHomeFreeBSD

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

Authored by arichardson on Mar 2 2021, 5:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 4:43 AM
Unknown Object (File)
Fri, Oct 18, 3:59 AM
Unknown Object (File)
Thu, Oct 17, 6:35 AM
Unknown Object (File)
Thu, Oct 17, 6:35 AM
Unknown Object (File)
Thu, Oct 17, 6:35 AM
Unknown Object (File)
Thu, Oct 17, 6:35 AM
Unknown Object (File)
Thu, Oct 17, 6:06 AM
Unknown Object (File)
Oct 5 2024, 4:44 AM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable