From c94bbe591635b7b35f15d035d27f392174c5e2f2 Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Thu, 16 Dec 2010 11:03:22 +0100 Subject: [PATCH] Use -pthread instead of -lpthread on FreeBSD Signed-off-by: Jens Axboe --- Makefile.FreeBSD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index 02ff95db..c9a1422b 100644 --- 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) -lpthread -lm -lrt + $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -pthread -lm -lrt depend: $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) $(SOURCE) 1> .depend -- 2.25.1