git: 57aa0db8d63e - stable/12 - rtld-elf: on arm, only use -mfpu=none with clang

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 15:00:32 UTC
The branch stable/12 has been updated by dim:

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

commit 57aa0db8d63e2ab2cb64af0505639a0ff5d437ed
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-12-21 14:57:33 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-21 14:57:33 +0000

    rtld-elf: on arm, only use -mfpu=none with clang
    
    This is because gcc 4.2.1 in combination with gas 2.17.50 on arm does
    not support this option.
    
    Direct commit to stable/12, since that still has gcc 4.2.1 and gas
    2.17.50.
---
 libexec/rtld-elf/arm/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rtld-elf/arm/Makefile.inc b/libexec/rtld-elf/arm/Makefile.inc
index dd12d5d3aa84..a633b37dd0ba 100644
--- a/libexec/rtld-elf/arm/Makefile.inc
+++ b/libexec/rtld-elf/arm/Makefile.inc
@@ -1,2 +1,2 @@
 # $FreeBSD$
-CFLAGS+=	-mfpu=none
+CFLAGS.clang+=	-mfpu=none