mozjs60: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:20:16 +01:00
parent 992f057f3b
commit 662412f368

View file

@ -17,9 +17,10 @@ patch_args="-Np1"
CXXFLAGS="-Wno-class-memaccess"
LDFLAGS+=" -Wl,-z,stack-size=1048576"
case "$XBPS_TARGET_MACHINE" in
armv[56]*|mips*|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