Skip to content

Commit

Permalink
Mk/Uses/cargo.mk: remove duplicate check for LTO, Mk/Features/lto.mk …
Browse files Browse the repository at this point in the history
…already does it
  • Loading branch information
pkubaj committed Feb 11, 2024
1 parent 054c6d9 commit 33b550f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Mk/Uses/cargo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ CARGO_ENV+= \
CARGO_ENV+= RUST_BACKTRACE=1
. endif

. if !defined(LTO_UNSAFE) || (defined(LTO_DISABLE_CHECK) && ${ARCH} == riscv64)
_CARGO_MSG= "===> Additional optimization to port applied"
WITH_LTO= yes
. endif

# Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk
. if ${ARCH} == amd64 || ${ARCH} == i386
Expand Down

0 comments on commit 33b550f

Please sign in to comment.