aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-09-27 12:29:05 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-09-27 12:29:52 +0000
commit44ed27f46b05c031306bb124ea091423d1ed8dfa (patch)
tree90ce547b36d36eb692d819584cabb262adac7b10
parentc2ebe4d8a409c4983d883adfe69356db0a92edb1 (diff)
downloadports-44ed27f46b05c031306bb124ea091423d1ed8dfa.tar.gz
ports-44ed27f46b05c031306bb124ea091423d1ed8dfa.zip
editors/libreoffice: drop LLVM13 and binutils for LTO on 13.1 and newer
PR: 266631 Approved by: fluffy@
-rw-r--r--editors/libreoffice/Makefile2
1 files changed, 1 insertions, 1 deletions
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}