diff -Naur chromium.orig/Makefile chromium/Makefile --- chromium.orig/Makefile 2021-02-19 00:21:49.000000000 +0200 +++ chromium/Makefile 2021-02-19 00:22:53.000000000 +0200 @@ -127,7 +127,7 @@ SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" -OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS TEST +OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO TEST CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver OPTIONS_GROUP= AUDIO @@ -169,6 +169,10 @@ 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 \ + WANTSPACE="lots of free disk space (~ 14GB)" + PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false