mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-22 10:15:52 +00:00
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 <hias@horus.com>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user