aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-29 15:53:52 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-29 15:59:32 +0000
commit0990299817478f318e95661326f674f851052131 (patch)
tree2c802c1b477357d66e188ad405ed6f00f2407ad6
parent08205a502cbe73450c6094211d452e38d1f86e21 (diff)
downloadports-0990299817478f318e95661326f674f851052131.tar.gz
ports-0990299817478f318e95661326f674f851052131.zip
devel/llvm-devel: enable assertions by default
PR: 272012 Approved by: brooks (maintainer timeout)
-rw-r--r--devel/llvm-devel/Makefile8
1 files 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