[Buildroot] [PATCH] lirc-tools: fix build issue related to clock_gettime()

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Aug 20 13:02:21 UTC 2016


Hello,

On Fri, 19 Aug 2016 15:50:29 +0200, Thomas Petazzoni wrote:
> In some older versions of glibc, clock_gettime() is in librt, so we need
> to link with librt when clock_gettime() is used. This commit adds a
> lirc-tools patch to make sure we link with librt when needed.
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/2770360880c9b265c8e019141925e56c35ba22dc/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  ...onfigure-check-for-clock_gettime-in-librt.patch | 54 ++++++++++++++++++++++
>  package/lirc-tools/lirc-tools.mk                   |  1 +
>  2 files changed, 55 insertions(+)
>  create mode 100644 package/lirc-tools/0004-configure-check-for-clock_gettime-in-librt.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list