summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorCristian Rodríguez2014-12-08 21:30:10 +0100
committerKarel Zak2014-12-09 09:19:36 +0100
commitfad25f02a336c5951fbf43ac6183c28b75f98b06 (patch)
treee02d28f408f6dd8b059cb5a0eaab3b2e36704914 /sys-utils/Makemodule.am
parentline: use util-linux conventions (diff)
downloadkernel-qcow2-util-linux-fad25f02a336c5951fbf43ac6183c28b75f98b06.tar.gz
kernel-qcow2-util-linux-fad25f02a336c5951fbf43ac6183c28b75f98b06.tar.xz
kernel-qcow2-util-linux-fad25f02a336c5951fbf43ac6183c28b75f98b06.zip
build-sys: hwclock requires -lm
hwclock uses fabs and therefore needs libm, otherwise a linking error ocurrs when building with -fno-builtin.
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index 25e1ad7bf..ef793c116 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -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