diff options
-rw-r--r-- | lang/rust/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index f7728020d762..f5e569551593 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -184,6 +184,7 @@ do-configure: .if ${PORT_OPTIONS:MLTO} @${ECHO_CMD} 'lto="thin"' >> ${WRKSRC}/config.toml .endif + @${ECHO_CMD} 'remap-debuginfo=true' >> ${WRKSRC}/config.toml @${ECHO_CMD} '[llvm]' >> ${WRKSRC}/config.toml .if ${PORT_OPTIONS:MLTO} @${ECHO_CMD} 'thin-lto=true' >> ${WRKSRC}/config.toml |