]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: hwclock requires -lm
authorCristian Rodríguez <crrodriguez@opensuse.org>
Mon, 8 Dec 2014 20:30:10 +0000 (17:30 -0300)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Dec 2014 08:19:36 +0000 (09:19 +0100)
hwclock uses fabs and therefore needs libm, otherwise a linking
error ocurrs when building with -fno-builtin.

sys-utils/Makemodule.am

index 25e1ad7bfdca5539c5ed990515c78151805ad66f..ef793c1168139e20bdc4589c391169255897f083 100644 (file)
@@ -370,7 +370,7 @@ hwclock_SOURCES = \
 if LINUX
 hwclock_SOURCES += sys-utils/hwclock-rtc.c
 endif
-hwclock_LDADD = $(LDADD) libcommon.la
+hwclock_LDADD = $(LDADD) libcommon.la -lm
 if HAVE_AUDIT
 hwclock_LDADD += -laudit
 endif