projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Only the posixaio engine needs to link against -lrt
[fio.git]
/
engines
/
Makefile
diff --git
a/engines/Makefile
b/engines/Makefile
index 9fbc21456194362326b870b57dd6032465e01fec..963a93ee9bad97c1dfa8ad0fdc41e1d0ee0c3619 100644
(file)
--- a/
engines/Makefile
+++ b/
engines/Makefile
@@
-17,6
+17,9
@@
clean:
fio-engine-libaio.o: fio-engine-libaio.c
$(CC) $(ALL_CFLAGS) -laio -o $*.o $<
fio-engine-libaio.o: fio-engine-libaio.c
$(CC) $(ALL_CFLAGS) -laio -o $*.o $<
+fio-engine-posixaio.o: fio-engine-posixaio.c
+ $(CC) $(ALL_CFLAGS) -lrt -o $*.o $<
+
ifneq ($(wildcard .depend),)
include .depend
endif
ifneq ($(wildcard .depend),)
include .depend
endif