From 2b74e8c0ebd7a9ec905d5273a05a107ea098dc42 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 26 Mar 2024 17:38:06 +0100 Subject: Mk/Features/lto.mk: switch LTO_UNSAFE consumers to WITHOUT_LTO Passing -C lto=no while Cargo.toml has lto=true desyncs cargo and rustc: = note: ld: error: [...]: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM17.0.6-rust-1.77.0-stable' Reader: 'LLVM 14.0.5') Reported by: pkg-fallout (for ~2 months) --- games/veloren-weekly/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/veloren-weekly') diff --git a/games/veloren-weekly/Makefile b/games/veloren-weekly/Makefile index 3945b66239bf..9ef9066c0372 100644 --- a/games/veloren-weekly/Makefile +++ b/games/veloren-weekly/Makefile @@ -42,7 +42,7 @@ CONFLICTS_INSTALL= ${PORTNAME} CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false .endif # Fixes error "Instruction does not dominate all uses!" -LTO_UNSAFE= yes +WITHOUT_LTO= yes # XXX bug 277333 # https://gitlab.com/veloren/veloren/issues/264 CARGO_ENV+= RUSTC_BOOTSTRAP=1 -- cgit v1.2.3