diff options
author | GeunSik Lim <leemgs1@gmail.com> | 2010-01-21 01:09:30 +0100 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-01-26 12:14:30 -0600 |
commit | 8947c646fed2afa8aacf7c816ab381b021a467fe (patch) | |
tree | bacb441f1df5d53554bd5d312132acae5487b613 | |
parent | 582be2a52c43801a10d318de7491f1cc7243d5cf (diff) | |
download | rt-tests-8947c646fed2afa8aacf7c816ab381b021a467fe.tar.gz |
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>
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |