mozjs52: use generic libatomic checks
This commit is contained in:
parent
b48c5c2c61
commit
992f057f3b
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue