aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-08-07 07:00:40 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-08-07 07:00:40 +0000
commit950dfcdb8daf2917b474950a8d71b1dc722fbe48 (patch)
treef552a9df39731956fa78b84fe17ae319e4310725
parent04a5061de0ef17f29fee55943d7c9e01530321cc (diff)
security/nflib: Turn on inner optimization option when no WITH_DEBUG is defined
PR: 272702
-rw-r--r--security/nflib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/nflib/Makefile b/security/nflib/Makefile
index 4f8abceb5760..7f69a0b25581 100644
--- a/security/nflib/Makefile
+++ b/security/nflib/Makefile
@@ -20,11 +20,14 @@ LIB_DEPENDS= libmpfr.so:math/mpfr \
libgmp.so:math/gmp
USES= cmake:testing compiler:c++11-lang localbase
+USE_LDCONFIG= yes
+
USE_GITHUB= yes
GH_ACCOUNT= quarkslab
GH_PROJECT= NFLlib
-USE_LDCONFIG= yes
+.if !defined(WITH_DEBUG)
CMAKE_ON= NFL_OPTIMIZED
+.endif
.include <bsd.port.mk>