* GeunSik's patch.
@ 2010-01-21 12:03 John Kacur
0 siblings, 0 replies; only message in thread
From: John Kacur @ 2010-01-21 12:03 UTC (permalink / raw)
To: Clark Williams, Thomas Gleixner, linux-rt-users, GeunSik Lim
Hi Clark.
I tested GeunSik's patch, and it is indeed required for developers who
wish to use the -static link flag.
I rewrote his changelog though, as it was a bit confusing.
You can pull the change from.
kernel.org/pub/scm/linux/kernel/git/jkacur/rt-tests.git patches
(Against the master branch of course)
Thanks
>From b33df8bf61c413f649d57b58804f3a726fa8fde3 Mon Sep 17 00:00:00 2001
From: GeunSik Lim <leemgs1@gmail.com>
Date: Thu, 21 Jan 2010 01:09:30 +0100
Subject: [PATCH] rt-tests: Support static linking by reordering the link flags in LIBS
Some embedded developers cross-compile the tests with the -static link flag.
Reordering the link flags in LIBS to put -lrt before -lpthread is necessary,
else you get undefined references to pthread calls.
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index e14d957..65f506a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ VERSION_STRING = 0.61
TARGETS = cyclictest signaltest pi_stress \
hwlatdetect rt-migrate-test ptsematest sigwaittest svsematest \
sendme pip
-LIBS = -lpthread -lrt
+LIBS = -lrt -lpthread
EXTRA_LIBS ?= -ldl # for get_cpu
DESTDIR ?=
prefix ?= /usr/local
--
1.6.0.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-21 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21 12:03 GeunSik's patch John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox