[klibc] [PATCH] klcc --version is -V because -v is --verbose already (unbreak -v)
H. Peter Anvin
hpa at zytor.com
Thu Jun 7 21:08:52 PDT 2012
On 06/07/2012 12:55 PM, Thorsten Glaser wrote:
>
> Signed-off-by: Thorsten Glaser <tg at mirbsd.org>
> ---
> klcc/klcc.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/klcc/klcc.in b/klcc/klcc.in
> index 43d0984..e03bf3c 100644
> --- a/klcc/klcc.in
> +++ b/klcc/klcc.in
> @@ -136,7 +136,7 @@ while ( defined($a = shift(@ARGV)) ) {
> } else {
> die "$0: unknown option: $a\n";
> }
> - } elsif ( $a =~ /^(-print|-dump|--help|--version|-v)/ ) {
> + } elsif ( $a =~ /^(-print|-dump|--help|--version|-V)/ ) {
> # These share prefixes with some other options, so put this test early!
> # Pseudo-operations; just pass to gcc and don't do anything else
> push(@ccopt, $a);
Doesn't work if gcc and/or configure expect it to be -v.
-hpa
More information about the klibc
mailing list