diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-08-10 21:47:24 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-08-12 01:37:37 +0000 |
commit | 0b85c8527a80f45eddd59d0353190c577ff881ec (patch) | |
tree | e77ac57962784490c398a4abe0197b1491d9e6da | |
parent | d101ab5189f92520436b3db85ba00700a1a6543a (diff) | |
download | ports-0b85c8527a80f45eddd59d0353190c577ff881ec.tar.gz ports-0b85c8527a80f45eddd59d0353190c577ff881ec.zip |
Mk/Uses/cargo.mk: enable LTO on powerpc64
-rw-r--r-- | Mk/Uses/cargo.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 432958129fea..01e8df15598d 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -139,7 +139,7 @@ CARGO_ENV+= \ CARGO_ENV+= RUST_BACKTRACE=1 . endif -. if !defined(LTO_UNSAFE) || (defined(LTO_DISABLE_CHECK) && ${ARCH} == powerpc64) || (defined(LTO_DISABLE_CHECK) && ${ARCH} == riscv64) +. if !defined(LTO_UNSAFE) || (defined(LTO_DISABLE_CHECK) && ${ARCH} == riscv64) _CARGO_MSG= "===> Additional optimization to port applied" WITH_LTO= yes . endif |