Hi David, On 07.11.2011 13:45, David Sterba wrote: > On Mon, Nov 07, 2011 at 10:19:33AM +0300, sly...@gmail.com wrote: >> btrfs: $(objects) btrfs.o btrfs_cmds.o scrub.o >> - $(CC) -lpthread $(CFLAGS) -o btrfs btrfs.o btrfs_cmds.o scrub.o \ >> - $(objects) $(LDFLAGS) $(LIBS) >> + $(CC) $(CFLAGS) -o btrfs btrfs.o btrfs_cmds.o scrub.o \ >> + $(objects) $(LDFLAGS) $(LIBS) -lpthread > > No, it's "-pthread", adds both preprocessor and linker flags.
It seems to do the right thing on x86_64, although... If I'm reading my gcc manpage right, it is telling me to use -pthread only for ia64 on HPUX, powerpc and sparc. (gcc 4.4.5 that is) -Jan -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html