New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/25850#issuecomment-749030481 Comment: I fixed it to use `LDFLAGS=-latomic` directly. Thanks!