From: Cristian Rodríguez Date: Mon, 8 Dec 2014 20:30:10 +0000 (-0300) Subject: build-sys: hwclock requires -lm X-Git-Tag: v2.26-rc1~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fad25f02a336c5951fbf43ac6183c28b75f98b06;p=thirdparty%2Futil-linux.git build-sys: hwclock requires -lm hwclock uses fabs and therefore needs libm, otherwise a linking error ocurrs when building with -fno-builtin. --- diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index 25e1ad7bfd..ef793c1168 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