projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e733f
)
Use -pthread instead of -lpthread on FreeBSD
author
Bruce Cran
<bruce@cran.org.uk>
Thu, 16 Dec 2010 10:03:22 +0000
(11:03 +0100)
committer
Jens Axboe
<jaxboe@fusionio.com>
Thu, 16 Dec 2010 10:03:22 +0000
(11:03 +0100)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Makefile.FreeBSD
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.FreeBSD
b/Makefile.FreeBSD
index 02ff95db4580201fb6311e7641763a6d78612d84..c9a1422ba1a8a723aa24bfd06ff6a448803d8ce0 100644
(file)
--- a/
Makefile.FreeBSD
+++ b/
Makefile.FreeBSD
@@
-50,7
+50,7
@@
mandir = $(prefix)/man
%.o: %.c
$(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $<
fio: $(OBJS)
- $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -
l
pthread -lm -lrt
+ $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -pthread -lm -lrt
depend:
$(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) $(SOURCE) 1> .depend