aboutsummaryrefslogtreecommitdiff
path: root/www/rustypaste/Makefile
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-01-07 19:08:44 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2023-01-07 19:22:36 +0000
commit967022fd812cf67dec264ee4e53bd016b69e7a2b (patch)
tree348ddac61682259240dfa111dae0e47abdbfe10a /www/rustypaste/Makefile
parent0176fc46e96dd24f9c085b49b50eadf7ef2dc982 (diff)
downloadports-967022fd812cf67dec264ee4e53bd016b69e7a2b.tar.gz
ports-967022fd812cf67dec264ee4e53bd016b69e7a2b.zip
Mk/Uses/cargo.mk: Enable WITH_LTO by default
Ports utilizing Cargo will now enable Link Time Optimization (LTO), set error handling mechanism to abort and codegen-units to 1 by default. Exceptions are powerpc64 and riscv64 where LTO is known to be broken and disabled to avoid unnecessary breakage. Ports utilizing LTO will output "Additional optimization to port applied" during build. WITH_LTO is handled by Mk/Features/lto.mk and to disable define LTO_UNSAFE=yes. I'd also like to mention arrowd and tobik for helpful input and thanks to everyone involved. Reviewed by: mikael (via irc), pkubaj Tested by: eduardo (build) Approved by: rust (mikael, pkubaj) Differential Revision: https://reviews.freebsd.org/D36736
Diffstat (limited to 'www/rustypaste/Makefile')
0 files changed, 0 insertions, 0 deletions