git: 1cd87430ed1f - main - devel/electron13: add link time optimization option (OFF by default)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Dec 2021 01:17:08 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=1cd87430ed1f7af11e307305f5486702b6ad6466 commit 1cd87430ed1f7af11e307305f5486702b6ad6466 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2021-12-01 01:14:31 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2021-12-01 01:17:02 +0000 devel/electron13: add link time optimization option (OFF by default) --- devel/electron13/Makefile | 6 +++++- editors/vscode/Makefile | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/devel/electron13/Makefile b/devel/electron13/Makefile index 578bd898e96f..e9f6a03054ce 100644 --- a/devel/electron13/Makefile +++ b/devel/electron13/Makefile @@ -1,6 +1,7 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER:S/-beta./.b/} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:chromium \ https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts @@ -89,7 +90,7 @@ WRKSRC_SUBDIR= src PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} -OPTIONS_DEFINE= CUPS DEBUG DIST DRIVER KERBEROS +OPTIONS_DEFINE= CUPS DEBUG DIST DRIVER KERBEROS LTO OPTIONS_DEFAULT= CUPS DRIVER KERBEROS ALSA OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO @@ -111,6 +112,9 @@ DIST_IMPLIES= DRIVER DRIVER_ALL_TARGET= chromedriver KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false +LTO_VARS= GN_ARGS+=use_thin_lto=true \ + GN_ARGS+=thin_lto_enable_optimizations=true +LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index 60aa97b076ce..1a73f478d679 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,5 +1,6 @@ PORTNAME= vscode DISTVERSION= 1.62.3 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= https://registry.npmjs.org/esbuild-freebsd-64/-/:esbuild_binary \ https://nodejs.org/dist/v${NODE_VER}/:node_headers \