1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

Mk/Uses/cargo.mk: Enable LTO again

Disabled in 06601897e5

Previous commit 967022fd81
This commit is contained in:
Daniel Engberg 2024-07-24 21:01:50 +02:00
parent b50f873a83
commit 6419fe98c4

View File

@ -139,8 +139,9 @@ CARGO_ENV+= \
CARGO_ENV+= RUST_BACKTRACE=1
. endif
. if defined(WITH_LTO)
. if !defined(WITHOUT_LTO)
_CARGO_MSG= "===> Additional optimization to port applied"
WITH_LTO= yes
. endif
# Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk