syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS.
PATCH 1/1 syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS.
Fixes this build error on Ubuntu introduced with commit 07f4e5432dd3e7a60bc0235f13200640c82d8f89.
testcases/kernel/syscalls/getrusage/getrusage04.c:186: undefined reference to `clock_getres'
Signed-off-by Vinson Lee <[email protected]>
--- testcases/kernel/syscalls/getrusage/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/getrusage/Makefile +1 -1
@@ -20,6 +20,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDFLAGS += -lrt +LDLIBS += -lrt include $(top_srcdir)/include/mk/generic_leaf_target.mk
Signature · 12 lines
1.7.9.5 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 5 lines
Fixes this build error on Ubuntu introduced with commit
07f4e5432dd3e7a60bc0235f13200640c82d8f89.
testcases/kernel/syscalls/getrusage/getrusage04.c:186: undefined reference to `clock_getres'
Thanks, commited.
(And sorry that I got it wrong)
Signature · 12 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list