Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2021 15:00:32 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 57aa0db8d63e - stable/12 - rtld-elf: on arm, only use -mfpu=none with clang
Message-ID:  <202112211500.1BLF0Whn042715@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112211500.1BLF0Whn042715>