From 0990299817478f318e95661326f674f851052131 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Thu, 29 Jun 2023 17:53:52 +0200 Subject: devel/llvm-devel: enable assertions by default PR: 272012 Approved by: brooks (maintainer timeout) --- devel/llvm-devel/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile index 313d490fa35a..339e4eb23e94 100644 --- a/devel/llvm-devel/Makefile +++ b/devel/llvm-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.0.d${SNAPDATE} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -76,11 +76,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF CMAKE_ARGS+= -DLLVM_ENABLE_LIBXML2=OFF CMAKE_ARGS+= -DLLVM_ENABLE_LIBEDIT=OFF CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHON_CMD} - -# Disable assertions. They should be disabled by cmake, but USES=cmake -# overrides -DCMAKE_*_FLAGS_RELEASE. -CFLAGS+= -DNDEBUG -CXXFLAGS+= -DNDEBUG +CMAKE_ARGS+= -DLLVM_ENABLE_ASSERTIONS=ON USE_GITHUB= yes GH_PROJECT= llvm-project -- cgit v1.2.3