--- trunk/extras/spidermonkey/spidermonkey-52.8.0-r1.smage2 2018/05/14 10:30:31 30880 +++ trunk/extras/spidermonkey/spidermonkey-52.8.0-r1.smage2 2018/05/14 12:43:59 30883 @@ -16,7 +16,7 @@ >= app-arch/zip-3" SRCFILE="firefox-${PVER}esr.source.tar.xz" -SRCDIR="${BUILDDIR}/mozilla-esr${PVER%%.*}" +SRCDIR="${BUILDDIR}/firefox-${PVER}esr" sminclude python msetfeature "!check" @@ -27,7 +27,7 @@ mirror://${PNAME}/${PNAME}-52.7.3-fix-soname.patch mirror://${PNAME}/${PNAME}-52.7.3-copy-headers.patch mirror://${PNAME}/${PNAME}-52.7.3-disable-mozglue.patch - mirror://${PNAME}/${PNAME}-52.7.3-include-configure-script.patch + mirror://${PNAME}/${PNAME}-52.8.0-include-configure-script.patch ) UP2DATE="updatecmd https://hg.mozilla.org/mozilla-unified/tags | grep '/FIREFOX_.*esr_RELEASE' | sed -e 's:.*/FIREFOX_\(.*\)esr_RELEASE:\1:' -e 's:_:\.:g' | upsort_pipe" @@ -40,7 +40,7 @@ mpatch ${PNAME}-52.7.3-fix-soname.patch || die mpatch ${PNAME}-52.7.3-copy-headers.patch || die mpatch ${PNAME}-52.7.3-disable-mozglue.patch || die - mpatch ${PNAME}-52.7.3-include-configure-script.patch || die + mpatch ${PNAME}-52.8.0-include-configure-script.patch || die sed -i '/^rm -rf _virtualenv/d' configure.in || die sed -i '/^mkdir -p _virtualenv/d' configure.in || die @@ -62,22 +62,20 @@ src_compile() { export CPPFLAGS="" - export CFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3' - export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3' + export CFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp' + export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp' export CC=gcc export CXX=g++ export SHELL="${SHELL}" cd ${SRCDIR}/js/src - # --enable-optimize="-O2" - # --enable-gold mconfigure \ --disable-debug \ --disable-debug-symbols \ --disable-strip \ --enable-gold \ - --disable-optimize \ + --enable-optimize="-O2" --enable-pie \ --enable-posix-nspr-emulation \ --enable-readline \