mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Revert "csu: test: explicitly add libm as build parameter"
This reverts commit4f5890a0fb
.9ef1127008
is a proper fix for the problem we tried to address. Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br)
This commit is contained in:
parent
309a263fe6
commit
a12eb9e4ae
|
@ -2,11 +2,6 @@
|
|||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
||||
.if exists(./Makefile.${MACHINE_ARCH})
|
||||
.include "./Makefile.${MACHINE_ARCH}"
|
||||
.endif
|
||||
|
||||
|
||||
.include <src.opts.mk>
|
||||
MK_PIE= no
|
||||
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in a new issue