mozjs52: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:20:04 +01:00
parent b48c5c2c61
commit 992f057f3b

View file

@ -24,9 +24,10 @@ LDFLAGS="-fuse-ld=bfd"
CFLAGS+=" -Wno-format-overflow"
CXXFLAGS+=" -Wno-format-overflow"
case "$XBPS_TARGET_MACHINE" in
mips*|armv[56]*|ppc|ppc-musl) makedepends+=" libatomic-devel" ; LDFLAGS+=" -latomic" ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi
do_configure() {
local _args