parent
48a571834a
commit
7facecd845
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mozjs17'
|
||||
pkgname=mozjs17
|
||||
version=17.0.0
|
||||
revision=5
|
||||
revision=6
|
||||
wrksrc="mozjs${version}"
|
||||
build_wrksrc="js/src"
|
||||
build_style=gnu-configure
|
||||
|
@ -14,12 +14,15 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
distfiles="${MOZILLA_SITE}/js/mozjs${version}.tar.gz"
|
||||
checksum=321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba
|
||||
|
||||
CXXFLAGS="-Wno-unused-local-typedefs"
|
||||
|
||||
do_configure() {
|
||||
local _args
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
export HOST_CFLAGS="-Os"
|
||||
export HOST_CXXFLAGS="-Os"
|
||||
export HOST_LDFLAGS="-s"
|
||||
_args+=" --target=$XBPS_CROSS_TRIPLET"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue