aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Dal'Ava Junior <alfredo@FreeBSD.org>2022-07-27 22:10:56 +0000
committerAlfredo Dal'Ava Junior <alfredo@FreeBSD.org>2022-07-28 14:23:26 +0000
commita12eb9e4ae534557867d49803a1e28bfe519a207 (patch)
tree8d2ce296214f0b20dd1946ce93928ba5c5bce1d9
parent309a263fe6484658827ca28a922fad70a2b42499 (diff)
downloadsrc-a12eb9e4ae534557867d49803a1e28bfe519a207.tar.gz
src-a12eb9e4ae534557867d49803a1e28bfe519a207.zip
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)
-rw-r--r--lib/csu/tests/dynamic/Makefile5
-rw-r--r--lib/csu/tests/dynamic/Makefile.powerpcspe11
2 files changed, 0 insertions, 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
-