Merge pull request #8066 from orbea/debug

qb: Add --enable-debug.
This commit is contained in:
Twinaphex 2019-01-22 20:13:09 +01:00 committed by GitHub
commit 58f0bdeaed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -588,6 +588,18 @@ check_macro NEON __ARM_NEON__
add_define MAKEFILE OS "$OS"
if [ "$HAVE_DEBUG" = 'yes' ]; then
add_define MAKEFILE DEBUG 1
if [ "$HAVE_OPENGL" = 'yes' ] ||
[ "$HAVE_OPENGLES" = 'yes' ] ||
[ "$HAVE_OPENGLES3" = 'yes' ]; then
add_define MAKEFILE GL_DEBUG 1
fi
if [ "$HAVE_VULKAN" = 'yes' ]; then
add_define MAKEFILE VULKAN_DEBUG 1
fi
fi
if [ "$HAVE_ZLIB" = 'no' ] && [ "$HAVE_RPNG" != 'no' ]; then
HAVE_RPNG=no
die : 'Notice: zlib is not available, RPNG will also be disabled.'

View File

@ -6,6 +6,7 @@ HAVE_OPENGLES_LIBS= # Link flags for custom GLES library
HAVE_OPENGLES_CFLAGS= # C-flags for custom GLES library
HAVE_CACA=no # Libcaca support
HAVE_SIXEL=no # Libsixel support
HAVE_DEBUG=no # Enable a debug build
HAVE_LIBRETRODB=yes # Libretrodb support
HAVE_MENU=yes # Enable menu drivers
HAVE_RGUI=auto # RGUI menu