www/firefox: add LTO option

PR:		253036
Approved by:	gecko (maintainer timeout)
This commit is contained in:
Piotr Kubaj 2021-02-10 19:23:50 +00:00
parent 5d37f45979
commit 7b29b356be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=564901
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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}