mozjs52: fix armv[56]*

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-04-20 10:49:13 +02:00
parent d826f22ecf
commit 112dac4c38
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -21,6 +21,10 @@ CXXFLAGS="-fpermissive -fno-delete-null-pointer-checks -fno-tree-vrp -fno-strict
# Use BFD linker to avoid erroneous detection of llvm pr8927 with *-musl
LDFLAGS="-fuse-ld=bfd"
case "$XBPS_TARGET_MACHINE" in
armv[56]*) makedepends+=" libatomic-devel" ; LDFLAGS+=" -latomic" ;;
esac
do_configure() {
local _args