Date: Wed, 10 Feb 2021 19:23:50 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r564901 - in head: Mk www/firefox Message-ID: <202102101923.11AJNok2032079@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Feb 10 19:23:50 2021 New Revision: 564901 URL: https://svnweb.freebsd.org/changeset/ports/564901 Log: www/firefox: add LTO option PR: 253036 Approved by: gecko (maintainer timeout) Modified: head/Mk/bsd.gecko.mk head/www/firefox/Makefile.options Modified: head/Mk/bsd.gecko.mk ============================================================================== --- head/Mk/bsd.gecko.mk Wed Feb 10 19:23:13 2021 (r564900) +++ head/Mk/bsd.gecko.mk Wed Feb 10 19:23:50 2021 (r564901) @@ -240,6 +240,10 @@ MOZ_OPTIONS+= --enable-libproxy MOZ_OPTIONS+= --disable-libproxy .endif +.if ${PORT_OPTIONS:MLTO} +MOZ_OPTIONS+= --enable-lto=cross +.endif + .if ${PORT_OPTIONS:MALSA} BUILD_DEPENDS+= ${LOCALBASE}/include/alsa/asoundlib.h:audio/alsa-lib MOZ_OPTIONS+= --enable-alsa Modified: head/www/firefox/Makefile.options ============================================================================== --- head/www/firefox/Makefile.options Wed Feb 10 19:23:13 2021 (r564900) +++ head/www/firefox/Makefile.options Wed Feb 10 19:23:50 2021 (r564901) @@ -1,7 +1,7 @@ # -*- makefile-bsdmake -*- OPTIONS_DEFINE+= CANBERRA DBUS DEBUG FFMPEG \ - LIBPROXY OPTIMIZED_CFLAGS PROFILE TEST + LIBPROXY LTO OPTIMIZED_CFLAGS PROFILE TEST OPTIONS_DEFAULT+= DBUS FFMPEG OPTIMIZED_CFLAGS PROFILE \ ${OPTIONS_GROUP_AUDIO:NALSA}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102101923.11AJNok2032079>