summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-03-12 16:27:31 (GMT)
committerMaciej Wereski <m.wereski@partner.samsung.com>2015-04-02 15:24:19 (GMT)
commit77871c10b246ecf7b716309d57cce48f447428f5 (patch)
tree8436eb9eb739d289038b451285ecd313645bf652
parent9352b368eb8a2d80c0dc266a597820c3985019f9 (diff)
downloadlinux-3.10-77871c10b246ecf7b716309d57cce48f447428f5.zip
linux-3.10-77871c10b246ecf7b716309d57cce48f447428f5.tar.gz
linux-3.10-77871c10b246ecf7b716309d57cce48f447428f5.tar.bz2
kdbus: samples/kdbus: add -lrt
On older systems -lrt is needed for clock_gettime(). Add it to HOSTLOADLIBES of kdbus-workers so it builds fine on those systems. Reported-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--samples/kdbus/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kdbus/Makefile b/samples/kdbus/Makefile
index d009025..eee9b9a 100644
--- a/samples/kdbus/Makefile
+++ b/samples/kdbus/Makefile
@@ -8,3 +8,4 @@ always := $(hostprogs-y)
HOSTCFLAGS_kdbus-workers.o += \
-I$(objtree)/usr/include/ \
-I$(objtree)/include/uapi/
+HOSTLOADLIBES_kdbus-workers := -lrt