git: c3fb59ed5c5f - main - libc: Include quad support on long32 ABIs

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 16:29:44 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=c3fb59ed5c5f5cad5fed5bc9f290a2a942838699

commit c3fb59ed5c5f5cad5fed5bc9f290a2a942838699
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2022-10-05 16:26:31 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2022-10-05 16:27:44 +0000

    libc: Include quad support on long32 ABIs
    
    Rather than not including it on all 64-bit platforms, just include it on
    32-bit ones.
    
    Reviewed by:    imp, jhb
    Sponsored by:   DARPA, AFRL
    Differential Revision:  https://reviews.freebsd.org/D36422
---
 lib/libc/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index a221a5a66c19..c9150869f223 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -109,10 +109,7 @@ NOASM=
 .include "${LIBC_SRCTOP}/net/Makefile.inc"
 .include "${LIBC_SRCTOP}/nls/Makefile.inc"
 .include "${LIBC_SRCTOP}/posix1e/Makefile.inc"
-.if ${LIBC_ARCH} != "aarch64" && \
-    ${LIBC_ARCH} != "amd64" && \
-    ${LIBC_ARCH} != "powerpc64" && \
-    ${LIBC_ARCH} != "riscv"
+.if ${MACHINE_ABI:Mlong32}
 .include "${LIBC_SRCTOP}/quad/Makefile.inc"
 .endif
 .include "${LIBC_SRCTOP}/regex/Makefile.inc"