mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
databases/clickhouse: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
d5d26803d6
commit
6956bca47e
1 changed files with 5 additions and 8 deletions
|
@ -229,14 +229,11 @@ TEST_CMAKE_BOOL= ENABLE_TESTS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 1400000
|
||||
CC= clang13
|
||||
CXX= clang++13
|
||||
USES+= llvm:max=13,build
|
||||
.else
|
||||
CC= clang
|
||||
CXX= clang++
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
USES+= llvm:max=15
|
||||
CC= clang${LLVM_VERSION}
|
||||
CXX= clang++${LLVM_VERSION}
|
||||
CFLAGS+=-Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD
|
||||
|
|
Loading…
Add table
Reference in a new issue