Module Name: src
Committed By: tsutsui
Date: Sat Feb 15 09:00:38 UTC 2025
Modified Files:
src/lib/libm: Makefile
Log Message:
libm: Add missing fma(3) and variants for hppa.
Fixes a build error on pkgsrc/lang/python312. Ok'ed by skrll@.
Should be pulled up to netbsd-10.
To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/lib/libm/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/Makefile
diff -u src/lib/libm/Makefile:1.240 src/lib/libm/Makefile:1.241
--- src/lib/libm/Makefile:1.240 Tue Oct 29 01:34:18 2024
+++ src/lib/libm/Makefile Sat Feb 15 09:00:38 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.240 2024/10/29 01:34:18 nat Exp $
+# $NetBSD: Makefile,v 1.241 2025/02/15 09:00:38 tsutsui Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -132,6 +132,7 @@ COMMON_SRCS += fenv.c
.elif (${LIBC_MACHINE_ARCH} == "hppa")
.PATH.c: ${.CURDIR}/arch/hppa
COMMON_SRCS+= fenv.c
+COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
.elif (${LIBC_MACHINE_ARCH} == "sparc")
.PATH: ${.CURDIR}/arch/sparc