autofs: fix build for old glibc toolchains
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 19 Jun 2016 03:25:12 +0000 (00:25 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Jun 2016 08:55:00 +0000 (10:55 +0200)
commit1916084f2a22073baad26053e261757fea9b1e6e
treea5dadd92f5b10bf3359e1aa16dd870b07b3f6265
parenta5ea4d3d067185a61e8b2e2657b1274bc4666ec5
autofs: fix build for old glibc toolchains

Autofs 5.1.2 switched to clock_gettime() unconditionally but didn't
check for the need of librt (glibc < 2.17) for it. Fixes:
http://autobuild.buildroot.net/results/0ab/0abd5476b39a6bd192b5e610006ed585ffb2e139/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/autofs/0002-autofs-build-check-for-clock_gettime-in-librt.patch [new file with mode: 0644]
package/autofs/autofs.mk