git: 92bbc43688d2 - main - multimedia/x265: remove explicit setting of -DNDEBUG

From: Mikhail Teterin <mi_at_FreeBSD.org>
Date: Sat, 29 Oct 2022 20:59:26 UTC
The branch main has been updated by mi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=92bbc43688d24d5bcf864fe7512327278b813e6d

commit 92bbc43688d24d5bcf864fe7512327278b813e6d
Author:     Mikhail Teterin <mi@FreeBSD.org>
AuthorDate: 2022-10-29 20:50:06 +0000
Commit:     Mikhail Teterin <mi@FreeBSD.org>
CommitDate: 2022-10-29 20:50:06 +0000

    multimedia/x265: remove explicit setting of -DNDEBUG
    
    Looks like CMake sets this automatically now, making our own
    setting redundant.
    
    Prodded by: diizzy
---
 multimedia/x265/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/multimedia/x265/Makefile b/multimedia/x265/Makefile
index 112b67f1dd5f..c913e215be90 100644
--- a/multimedia/x265/Makefile
+++ b/multimedia/x265/Makefile
@@ -33,7 +33,6 @@ OPTIONS_MULTI_PixelWidth=HI8P HI10P HI12P
 DOS2UNIX_FILES=		abrEncApp.cpp
 DEBUG_PREVENTS=		OPTIMIZED_FLAGS
 DEBUG_PREVENTS_MSG=	Optimizations are incompatible with debugging code
-DEBUG_VARS_OFF=		CFLAGS+=-DNDEBUG
 DEBUG_CMAKE_ON=		-DCMAKE_ASM_NASM_FLAGS:STRING="-g -O0"
 OPTIMIZED_FLAGS_VARS=	CFLAGS+=-O3
 SVTHEVC_LIB_DEPENDS=	libSvtHevcEnc.so:multimedia/svt-hevc