[PATCH 44/59] Supress unused command arguments warning with clang
Florian Weimer
fweimer@redhat.com
Fri Oct 17 21:00:20 GMT 2025
* Adhemerval Zanella:
> diff --git a/stdio-common/Makefile b/stdio-common/Makefile
> index 8da164695f..fba6bd99fd 100644
> --- a/stdio-common/Makefile
> +++ b/stdio-common/Makefile
> @@ -497,11 +497,15 @@ include ../Rules
> # than 2.29 it might generate object sizes different than the expected ones.
> $(objpfx)errlist-data-aux-shared.S: errlist-data-gen.c
> $(make-target-directory)
> - $(compile-command.c) $(pic-cppflags) $(pic-ccflag) $(no-stack-protector) -S
> + $(compile-command.c) \
> + $(config-cflags-wno-unused-command-line-arguments) \
> + $(pic-cppflags) $(pic-ccflag) $(no-stack-protector) -S
Maybe filter out the -c instead?
Thanks,
Florian
More information about the Libc-alpha
mailing list