]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
GNU as: move deprecation message after option parsing
authorEd Maste <emaste@FreeBSD.org>
Mon, 18 May 2020 16:07:14 +0000 (16:07 +0000)
committerEd Maste <emaste@FreeBSD.org>
Mon, 18 May 2020 16:07:14 +0000 (16:07 +0000)
commiteb95dbfa4fa0c7c2a3419812d5c18a2740364256
tree25c918fed0b058d4886c314e9f4e3e0d0b8405a6
parentbc71118183ddd2493c6c8ce4511da3a2e8368804
GNU as: move deprecation message after option parsing

Some cmake test parses the output of the first line of as --version, and
emits an error if it does not contain some expected strings:

Checking whether the ASM compiler is GNU using "--version" did not match
"(GNU assembler)|(GCC)|(Free Software Foundation)"

Emit the deprecation message later, after parsing argv and thus --version.

PR: 246540
Reported by: dch
Sponsored by: The FreeBSD Foundation
contrib/binutils/gas/as.c