From: Vinson Lee <vlee@twitter.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH] syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS.
Date: Thu, 21 Feb 2013 10:10:50 -0800 [thread overview]
Message-ID: <1361470250-2489-1-git-send-email-vlee@twitter.com> (raw)
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
next reply other threads:[~2013-02-21 19:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-21 18:10 Vinson Lee [this message]
2013-02-21 20:02 ` [LTP] [PATCH] syscalls/getrusage04: Link rt through LDLIBS instead of LDFLAGS chrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361470250-2489-1-git-send-email-vlee@twitter.com \
--to=vlee@twitter.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox