markfasheh / duperemove

Tools for deduping file systems
GNU General Public License v2.0
794 stars 78 forks source link

Revert "Don't link with libatomic" #258

Closed kilobyte closed 3 years ago

kilobyte commented 3 years ago

GCC has the headers for __atomic built-in, but it still needs library support on many architectures. On Debian, this broke armel mipsel m68k powerpc sh4.

--as-needed does precisely what we want: links the library only if it's actually required, with no bloat added when not.

This reverts commit 06160235310a98f41c3f0e46e8f42e57dba11bc3.