johang / btfs

A bittorrent filesystem based on FUSE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link to -latomic everywhere or just on platforms that need it?

petterreinholdtsen opened this issue · comments

Hi. I just noticed from https://buildd.debian.org/status/package.php?p=btfs how this program fail to build on a few architectures where -latomic is needed for some atomic operations the compiler do not handle natively. Please have a look at adjusting the build system to link with -latomic. It should be safe to do on all platforms.

Thanks for reporting this. I agree -- it should be safe on all platforms.

It seems -latomic is not safe on all platforms. MacOS is weird. I'll find a better solution.

Fixed for both Linux and MacOS in d3872a9 (v2.21).