git: 44ed27f46b05 - main - editors/libreoffice: drop LLVM13 and binutils for LTO on 13.1 and newer
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Sep 2022 12:29:54 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=44ed27f46b05c031306bb124ea091423d1ed8dfa
commit 44ed27f46b05c031306bb124ea091423d1ed8dfa
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-09-27 12:29:05 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-09-27 12:29:52 +0000
editors/libreoffice: drop LLVM13 and binutils for LTO on 13.1 and newer
PR: 266631
Approved by: fluffy@
---
editors/libreoffice/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 00503adf5cdb..6648cdec914b 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -350,7 +350,7 @@ CONFIGURE_ARGS+= --disable-skia
CONFIGURE_ARGS+= --enable-gtk3-kde5
.endif
-.if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang
+.if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 130
LLVM_DEFAULT= 13
CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}