[PATCH] newlib: simplify nds32 automake checks

Corinna Vinschen vinschen@redhat.com
Tue Feb 8 09:27:19 GMT 2022


On Feb  7 01:18, Mike Frysinger wrote:
> This code is a bit more convoluted than it needs to be.  GPR_SOURCES
> is never set to anything, and the automake checks use negative logic
> to add the SP & DP source files to dedicated variables that are only
> expanded once.  Get rid of the unused variable, use normal boolean
> logic, and collapse the source settings into a single variable.
> ---
>  newlib/libm/machine/nds32/Makefile.am | 17 +++++++----------
>  newlib/libm/machine/nds32/Makefile.in | 18 ++++++++----------
>  2 files changed, 15 insertions(+), 20 deletions(-)

LGTM


Thanks,
Corinna



More information about the Newlib mailing list