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"
|
CFLAGS+=" -Wno-format-overflow"
|
||||||
CXXFLAGS+=" -Wno-format-overflow"
|
CXXFLAGS+=" -Wno-format-overflow"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
mips*|armv[56]*|ppc|ppc-musl) makedepends+=" libatomic-devel" ; LDFLAGS+=" -latomic" ;;
|
makedepends+=" libatomic-devel"
|
||||||
esac
|
LDFLAGS+=" -latomic"
|
||||||
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _args
|
local _args
|
||||||
|
|
Loading…
Reference in a new issue