git: a12eb9e4ae53 - main - Revert "csu: test: explicitly add libm as build parameter"

From: Alfredo Dal'Ava Junior <alfredo_at_FreeBSD.org>
Date: Thu, 28 Jul 2022 11:23:53 UTC
The branch main has been updated by alfredo:

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

commit a12eb9e4ae534557867d49803a1e28bfe519a207
Author:     Alfredo Dal'Ava Junior <alfredo@FreeBSD.org>
AuthorDate: 2022-07-27 22:10:56 +0000
Commit:     Alfredo Dal'Ava Junior <alfredo@FreeBSD.org>
CommitDate: 2022-07-28 14:23:26 +0000

    Revert "csu: test: explicitly add libm as build parameter"
    
    This reverts commit 4f5890a0fb086324a657f3cd7ba1abc57274e0db.
    
    9ef1127008ce94cf626daed346a3c1ee03063617 is a proper fix for
    the problem we tried to address.
    
    Sponsored by:   Instituto de Pesquisas Eldorado (eldorado.org.br)
---
 lib/csu/tests/dynamic/Makefile            |  5 -----
 lib/csu/tests/dynamic/Makefile.powerpcspe | 11 -----------
 2 files changed, 16 deletions(-)

diff --git a/lib/csu/tests/dynamic/Makefile b/lib/csu/tests/dynamic/Makefile
index 28fbbb3ee96a..266f5c5a7d0d 100644
--- a/lib/csu/tests/dynamic/Makefile
+++ b/lib/csu/tests/dynamic/Makefile
@@ -2,11 +2,6 @@
 
 .PATH: ${.CURDIR:H}
 
-.if exists(./Makefile.${MACHINE_ARCH})
-.include "./Makefile.${MACHINE_ARCH}"
-.endif
-
-
 .include <src.opts.mk>
 MK_PIE=	no
 
diff --git a/lib/csu/tests/dynamic/Makefile.powerpcspe b/lib/csu/tests/dynamic/Makefile.powerpcspe
deleted file mode 100644
index 1739a85e6219..000000000000
--- a/lib/csu/tests/dynamic/Makefile.powerpcspe
+++ /dev/null
@@ -1,11 +0,0 @@
-# $FreeBSD$
-
-# TODO: investigate and try a better fix on compiler side
-#
-# CSU tests build fails with '/usr/lib/libgcc_s.so: undefined reference to fma'
-# when built with LLVM 14, so '-lm' is being added explicitly here. Only
-# the powerpcspe target is affected and it may be linked to
-#       https://reviews.llvm.org/D77558
-
-LDFLAGS+=	-lm
-