]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Silence annoying and incorrect non-default linker warning with GCC
authorAlex Richardson <arichardson@FreeBSD.org>
Thu, 4 Mar 2021 18:27:37 +0000 (18:27 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Thu, 4 Mar 2021 18:27:39 +0000 (18:27 +0000)
commit172a624f0c9fbc47d74fd5178d46f771f82dc6a0
tree78366fbedc905308eb3fb37631a097ef9fa61eaa
parentb2c8cbf992cb0b51118beae9c304580705ae00c9
Silence annoying and incorrect non-default linker warning with GCC

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
Reviewed By: jhb
Differential Revision: https://reviews.freebsd.org/D29015
share/mk/bsd.sys.mk
sys/conf/kern.mk