From: Bruce Cran Date: Thu, 16 Dec 2010 10:03:22 +0000 (+0100) Subject: Use -pthread instead of -lpthread on FreeBSD X-Git-Tag: fio-1.50-rc1~4 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c94bbe591635b7b35f15d035d27f392174c5e2f2 Use -pthread instead of -lpthread on FreeBSD Signed-off-by: Jens Axboe --- 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