From fad25f02a336c5951fbf43ac6183c28b75f98b06 Mon Sep 17 00:00:00 2001 From: Cristian Rodríguez Date: Mon, 8 Dec 2014 17:30:10 -0300 Subject: build-sys: hwclock requires -lm hwclock uses fabs and therefore needs libm, otherwise a linking error ocurrs when building with -fno-builtin. --- sys-utils/Makemodule.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/Makemodule.am') 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 -- cgit v1.2.3-55-g7522