diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-12-01 01:14:31 +0000 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-12-01 01:17:02 +0000 |
commit | 1cd87430ed1f7af11e307305f5486702b6ad6466 (patch) | |
tree | 3f57260ccb9bd8f5059d2558532e92dd1fa4c66d | |
parent | 96d9a4001c4676e6d68041697dae2dd0afa4db4c (diff) | |
download | ports-1cd87430ed1f7af11e307305f5486702b6ad6466.tar.gz ports-1cd87430ed1f7af11e307305f5486702b6ad6466.zip |
devel/electron13: add link time optimization option (OFF by default)
-rw-r--r-- | devel/electron13/Makefile | 6 | ||||
-rw-r--r-- | editors/vscode/Makefile | 1 |
2 files changed, 6 insertions, 1 deletions
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 \ |