Skip to content

Commit

Permalink
devel/ucommon: Fix build with llvm16
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 30, 2023
1 parent 4e0c2ae commit 4e8188f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion devel/ucommon/Makefile
Expand Up @@ -17,7 +17,13 @@ CMAKE_ARGS= -DBUILD_TESTING:BOOL=ON \
USE_LDCONFIG= yes
TEST_TARGET= test

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
USE_CXXSTD= c++11
.endif

post-install:
${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon

.include <bsd.port.mk>
.include <bsd.port.post.mk>

0 comments on commit 4e8188f

Please sign in to comment.