]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Assemble .s to .o using cc, not as
authorEd Maste <emaste@FreeBSD.org>
Tue, 19 Jul 2022 19:36:09 +0000 (15:36 -0400)
committerEd Maste <emaste@FreeBSD.org>
Mon, 26 Jun 2023 02:03:19 +0000 (22:03 -0400)
commitb2dcde7e9e75dd35124d12e68036e56ee650d568
treedbe96c099b1bdc3518bb1605d64b070f2d0dbc36
parent5dae8905a5141e0cba1f4f3f94116440a5ce2abb
Assemble .s to .o using cc, not as

As of commit fd71da37d478 we no longer have an `as` in the default
toolchain.  Although we do not make use of this rule in the base system
some ports or downstream projects might.  Use `cc -x assembler` instead
of as.

Reviewed by: arichardson
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35859
share/mk/bsd.compat.mk
share/mk/bsd.lib.mk
share/mk/bsd.suffixes.mk