mozjs78: fix homepage and don't append to *FLAGS in top level.

This commit is contained in:
Érico Rolim 2021-01-27 16:04:35 -03:00 committed by Érico Nogueira Rolim
parent 9499c446f6
commit 33a28eea16

View file

@ -14,13 +14,13 @@ depends="nspr>=4.19"
short_desc="Mozilla JavaScript interpreter and library (78.x series)"
maintainer="q66 <daniel@octaforge.org>"
license="MPL-2.0"
homepage="https://www.mozilla.org/js/"
homepage="https://www.mozilla.org/firefox/"
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz"
checksum=965ccfcbb8c0aa97639911997c54be0fcf896fd388b03138952089af675ea918
patch_args="-Np1"
CXXFLAGS+=" -Wno-class-memaccess"
LDFLAGS+=" -Wl,-z,stack-size=1048576"
CXXFLAGS="-Wno-class-memaccess"
LDFLAGS="-Wl,-z,stack-size=1048576"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"