Skip to content

Commit

Permalink
audio/cardinal: Fix build on 14
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 18, 2023
1 parent a98f7fd commit 4bb50b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions audio/cardinal/Makefile
Expand Up @@ -45,4 +45,13 @@ PORTDOCS= *
LTO_MAKE_ARGS= WITH_LTO=true
LTO_BROKEN= Fails to build with LTO because it is gcc-centered

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
USES+= llvm:max=15
CC= clang${LLVM_VERSION}
CPP= clang-cpp${LLVM_VERSION}
CXX= clang++${LLVM_VERSION}
.endif

.include <bsd.port.mk>

0 comments on commit 4bb50b8

Please sign in to comment.