public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS.
@ 2013-02-21 18:10 Vinson Lee
  2013-02-21 20:02 ` chrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Vinson Lee @ 2013-02-21 18:10 UTC (permalink / raw)
  To: ltp-list

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 <vlee@twitter.com>
---
 testcases/kernel/syscalls/getrusage/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/getrusage/Makefile b/testcases/kernel/syscalls/getrusage/Makefile
index 6851383..6702f27 100644
--- a/testcases/kernel/syscalls/getrusage/Makefile
+++ b/testcases/kernel/syscalls/getrusage/Makefile
@@ -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
-- 
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS.
  2013-02-21 18:10 [LTP] [PATCH] syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS Vinson Lee
@ 2013-02-21 20:02 ` chrubis
  0 siblings, 0 replies; 2+ messages in thread
From: chrubis @ 2013-02-21 20:02 UTC (permalink / raw)
  To: Vinson Lee; +Cc: ltp-list

Hi!
> 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)

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-21 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 18:10 [LTP] [PATCH] syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS Vinson Lee
2013-02-21 20:02 ` chrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox