mozjs60: use bfd when cross compiling
This commit is contained in:
parent
09a0e3b893
commit
c3169c7fea
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user