diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-03-12 17:27:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-12 22:40:09 +0100 |
commit | 6ccaab40267b109c01f3ca82ebc8bdf7028ebf5f (patch) | |
tree | ec7a16a242bbc9243c3a3c11125f82f9cdba6995 /samples | |
parent | e5f30afc29ce2da58a7795f86ae77b7a89b8084c (diff) |
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>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/kdbus/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kdbus/Makefile b/samples/kdbus/Makefile index d009025369f4..eee9b9aed632 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 |