mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 06:52:56 +02:00
mozjs60: use bfd when cross compiling
This commit is contained in:
parent
09a0e3b893
commit
c3169c7fea
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue