0
0
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:
Matthias Reichl
2021-02-08 10:46:44 +01:00
parent 06bafb5046
commit 7f2318b2b1

@ -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