From 38d06173f50b93be8821a0cb8fb5df62fa3af587 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 1 Sep 2020 06:54:06 +0000 Subject: [PATCH] build with NDEBUG to disable asserts matches autotools build when --enable-debug is not specified and meson with --buildtype=release --- lib/mesa/mk/config.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mesa/mk/config.mk b/lib/mesa/mk/config.mk index a92cc5b7f..8fac1bcfe 100644 --- a/lib/mesa/mk/config.mk +++ b/lib/mesa/mk/config.mk @@ -102,6 +102,7 @@ CPPFLAGS+= \ -DHAVE___BUILTIN_POPCOUNT \ -DHAVE___BUILTIN_POPCOUNTLL \ -DHAVE___BUILTIN_UNREACHABLE \ + -DNDEBUG \ -DUSE_GCC_ATOMIC_BUILTINS \ -DPACKAGE_BUGREPORT=\"bugs@openbsd.org\" \ -D_FILE_OFFSET_BITS=64 \