Skip to contentSkip to conversation

syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS.

PATCH In review Vinson Lee 2 participants 2 messages Feb 21, 2013

lore
Share & tools
lore

Vinson Lee

author
#0 lore raw

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'

---
 testcases/kernel/syscalls/getrusage/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/getrusage/Makefile +1 -1
index 6851383..6702f27 100644
@@ -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
#1 lore raw

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