projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86596c7
)
iowatcher: link with -lrt
author
Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
Tue, 23 Aug 2016 14:41:21 +0000
(16:41 +0200)
committer
Jens Axboe
<axboe@fb.com>
Tue, 23 Aug 2016 14:45:45 +0000
(08:45 -0600)
Some C libraries (notably uClibc) have the posix_spawn*() functions in
librt, so let's link iowatcher with -lrt.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
iowatcher/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/iowatcher/Makefile
b/iowatcher/Makefile
index 3551ea0a895fba52aef952158097f605b45d6ec5..e013556f3ae1dc3d42baf4d461174f3a2b2ba75a 100644
(file)
--- a/
iowatcher/Makefile
+++ b/
iowatcher/Makefile
@@
-19,7
+19,7
@@
all: $(ALL)
$(CC) -o $*.o -c $(ALL_CFLAGS) $<
iowatcher: blkparse.o plot.o main.o tracers.o mpstat.o fio.o
- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm
+ $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm
-lrt
depend:
@$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend