git: 946f65235db2 - main - devel/texlab: Prepare port for upcoming build change
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Jan 2023 19:31:03 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=946f65235db2fab34687829c979d6053a69526de
commit 946f65235db2fab34687829c979d6053a69526de
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-01-06 19:11:19 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-01-06 19:30:53 +0000
devel/texlab: Prepare port for upcoming build change
Enabling LTO breaks build
Approved by: portmgr (blanket)
---
devel/texlab/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/texlab/Makefile b/devel/texlab/Makefile
index 09d64432873a..96cfd83cdde3 100644
--- a/devel/texlab/Makefile
+++ b/devel/texlab/Makefile
@@ -15,6 +15,10 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= latex-lsp
+# Fixes: error: the linked panic runtime `panic_unwind` is not compiled with
+# this crate's panic strategy `abort`
+LTO_UNSAFE= yes
+
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
PORTDOCS= CHANGELOG.md README.md docs/*