mozjs60: use bfd when cross compiling

This commit is contained in:
maxice8 2018-09-08 12:39:27 -03:00
parent 09a0e3b893
commit c3169c7fea
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B

View File

@ -3,7 +3,7 @@ pkgname=mozjs60
version=60.0.2
revision=1
wrksrc="firefox-${version}"
build_wrksrc="js/src"
build_wrksrc=js/src
build_style=gnu-configure
hostmakedepends="perl python pkg-config automake autoconf213 autoconf-archive"
makedepends="icu-devel libffi-devel nspr-devel python-devel readline-devel zlib-devel"
@ -25,7 +25,7 @@ do_configure() {
if [ "$CROSS_BUILD" ]; then
export HOST_CFLAGS="-Os"
export HOST_CXXFLAGS="-Os"
_args+=" --target=$XBPS_CROSS_TRIPLET"
_args+=" --target=$XBPS_CROSS_TRIPLET --enable-linker=bfd"
fi
touch ${wrksrc}/js/src/configure