From 7f2318b2b1f278d7df601bec0cbc88728f3ee2f1 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Mon, 8 Feb 2021 10:46:44 +0100 Subject: [PATCH] virtual/debug: allow including valgrind in non-debug builds valgrind can be useful to check if memory allocation is OK in release builds and to check for issues that don't occur in debug builds. As valgrind needs to be explicitly enabled removing the debug-only restriction has no impact on normal builds. Signed-off-by: Matthias Reichl --- packages/virtual/debug/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/virtual/debug/package.mk b/packages/virtual/debug/package.mk index 23d9254b78..fc431a8148 100644 --- a/packages/virtual/debug/package.mk +++ b/packages/virtual/debug/package.mk @@ -21,7 +21,7 @@ if [ "${VAAPI_SUPPORT}" = "yes" ]; then PKG_DEPENDS_TARGET+=" libva-utils" fi -if build_with_debug && [ "${VALGRIND}" = "yes" ]; then +if [ "${VALGRIND}" = "yes" ]; then PKG_DEPENDS_TARGET+=" valgrind" fi