[arch-commits] Commit in js52/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Dec 7 22:04:54 UTC 2017
Date: Thursday, December 7, 2017 @ 22:04:53
Author: heftig
Revision: 311805
optimize
Modified:
js52/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-07 21:50:00 UTC (rev 311804)
+++ PKGBUILD 2017-12-07 22:04:53 UTC (rev 311805)
@@ -35,18 +35,22 @@
build() {
unset CPPFLAGS
- CFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp'
- CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp'
+ CFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'
+ CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'
export CC=gcc CXX=g++ PYTHON=/usr/bin/python2
cd mozilla-unified/js/src
sh configure \
--prefix=/usr \
- --disable-optimize \
+ --disable-debug \
+ --disable-debug-symbols \
--disable-strip \
+ --enable-gold \
+ --enable-optimize="-O2" \
--enable-pie \
--enable-posix-nspr-emulation \
--enable-readline \
+ --enable-release \
--enable-shared-js \
--enable-tests \
--with-intl-api \
More information about the arch-commits
mailing list