swupdate: fix build with older glibc
authorBaruch Siach <baruch@tkos.co.il>
Wed, 7 Jun 2017 19:50:04 +0000 (22:50 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 7 Jun 2017 20:10:00 +0000 (22:10 +0200)
commit6a1aa4e2daf0ecdcd2b454d162c8ade6c5bd5779
treeab8e85c005556cb7900898008ad9b9fee6a5f691
parent8e7fbfca55f559637fa10b2bad17f62386156122
swupdate: fix build with older glibc

Add -lrt that is needed for clock_gettime() with glibc before 2.17.

Fixes:
http://autobuild.buildroot.net/results/034/0345814c0b0023e124992974c0600bdda0824dbf/

Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/swupdate/0002-Makefile.flags-SURICATTA_HAWKBIT-needs-librt-under-o.patch [new file with mode: 0644]