mozjs60: fix x86_64-musl miscompilation and enable tests
This commit is contained in:
parent
f96460067f
commit
bebef3b348
1 changed files with 8 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mozjs60'
|
||||
pkgname=mozjs60
|
||||
version=60.0.2
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="firefox-${version}"
|
||||
build_wrksrc=js/src
|
||||
build_style=gnu-configure
|
||||
|
@ -28,18 +28,21 @@ do_configure() {
|
|||
_args+=" --target=$XBPS_CROSS_TRIPLET --enable-linker=bfd"
|
||||
fi
|
||||
|
||||
autoconf-2.13 old-configure.in > old-configure
|
||||
|
||||
touch ${wrksrc}/js/src/configure
|
||||
touch ${wrksrc}/js/src/old-configure
|
||||
SHELL=/bin/bash PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
|
||||
--disable-jemalloc --disable-optimize --enable-ctypes --enable-pie \
|
||||
--enable-readline --enable-shared-js --enable-system-ffi \
|
||||
--disable-tests --with-intl-api --with-system-icu \
|
||||
--with-system-nspr --with-system-zlib \
|
||||
--enable-tests --with-intl-api --with-system-icu \
|
||||
--with-system-nspr --with-system-zlib --target=${XBPS_TRIPLET} \
|
||||
--host=${XBPS_TRIPLET} \
|
||||
${_args}
|
||||
}
|
||||
|
||||
do_check() {
|
||||
# Needs VCS checkout type, which isn't present in release tarballs
|
||||
:
|
||||
dist/bin/jsapi-tests
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue