summaryrefslogtreecommitdiffstats
path: root/package/libbsd/libbsd.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-02-12 11:38:22 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-13 18:18:49 +0100
commit0e656cba53dba78b1fd3ff00ce56de1657e594bc (patch)
tree6b9f6807146e6447559abf8afab6b8edc3f31d33 /package/libbsd/libbsd.mk
parent59e69990867beb06c128060726bd65247ddea0f1 (diff)
downloadbuildroot-0e656cba53dba78b1fd3ff00ce56de1657e594bc.tar.gz
buildroot-0e656cba53dba78b1fd3ff00ce56de1657e594bc.zip
libbsd: add patch for clock_gettime usage
libbsd uses clock_gettime() but doesn't check for it in librt. This causes breakage on old glibc versions (< 2.17). Fixes: http://autobuild.buildroot.net/results/a5b/a5b837d6d02ec96ac53c5b1c531a0c8e7eafeb9a/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libbsd/libbsd.mk')
-rw-r--r--package/libbsd/libbsd.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libbsd/libbsd.mk b/package/libbsd/libbsd.mk
index 634a614c89..f750d752fe 100644
--- a/package/libbsd/libbsd.mk
+++ b/package/libbsd/libbsd.mk
@@ -9,7 +9,8 @@ LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz
LIBBSD_SITE = http://libbsd.freedesktop.org/releases
LIBBSD_LICENSE = BSD-3c, MIT
LIBBSD_LICENSE_FILES = COPYING
-
LIBBSD_INSTALL_STAGING = YES
+# For 0001-build-clock_gettime-might-need-librt.patch
+LIBBSD_AUTORECONF = YES
$(eval $(autotools-package))
OpenPOWER on IntegriCloud