Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/makefs udf.c uses math library functions.



details:   https://anonhg.NetBSD.org/src/rev/7e0d1ef990cb
branches:  trunk
changeset: 364698:7e0d1ef990cb
user:      hauke <hauke%NetBSD.org@localhost>
date:      Wed Apr 06 22:25:00 2022 +0000

description:
udf.c uses math library functions.

diffstat:

 usr.sbin/makefs/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r b2f097e5d8d6 -r 7e0d1ef990cb usr.sbin/makefs/Makefile
--- a/usr.sbin/makefs/Makefile  Wed Apr 06 22:01:45 2022 +0000
+++ b/usr.sbin/makefs/Makefile  Wed Apr 06 22:25:00 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.37 2019/10/13 07:28:19 mrg Exp $
+#      $NetBSD: Makefile,v 1.38 2022/04/06 22:25:00 hauke Exp $
 #
 
 WARNS?=        5
@@ -29,8 +29,8 @@
 .include "${.CURDIR}/udf/Makefile.inc"
 
 .if !defined(HOSTPROG)
-DPADD+= ${LIBUTIL}
-LDADD+= -lutil
+DPADD+= ${LIBUTIL} ${LIBM}
+LDADD+= -lutil -lm
 
 COPTS.cd9660.c+=               ${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_FORMAT_TRUNCATION}
 COPTS.cd9660_conversion.c+=    ${GCC_NO_FORMAT_TRUNCATION}



Home | Main Index | Thread Index | Old Index