[Bug 263976] editors/libreoffice: Fails to build if LLVM_DEFAULT=90 (default) and LTO=on (non-default)
Date: Sun, 22 May 2022 23:11:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263976 --- Comment #14 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Tomoaki AOKI from comment #13) The note's wording presumes that LTO has been enabled. Otherwise no devel/llvm* is used at all that way editors/libreoffice is currently set up. The only thing that creates a use of a devel/llvm* is the code that I keep quoting from editors/libreoffice/Makefile : QUOTE .if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} LLD_UNSAFE= yes .endif END QUOTE That code is only for LTO enabled --with a clang compiler type also identified. Otherwise, no port-based toolchain is caused to be used. -- You are receiving this mail because: You are the assignee for the bug.