From 988763c0efaa0d588f84da5699ca264f3456d882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Thu, 24 Jun 2021 23:32:06 +0200 Subject: [PATCH] Toolchain: Add the AFLACLOADER_DEBUG macro This enables FLAC debugging output, which is used with the new FLAC loader introduced in later commits. --- AK/Debug.h.in | 4 ++++ Meta/CMake/all_the_debug_macros.cmake | 1 + 2 files changed, 5 insertions(+) diff --git a/AK/Debug.h.in b/AK/Debug.h.in index 54333a0fc3..2f0735e8fb 100644 --- a/AK/Debug.h.in +++ b/AK/Debug.h.in @@ -14,6 +14,10 @@ #cmakedefine01 AWAVLOADER_DEBUG #endif +#ifndef AFLACLOADER_DEBUG +#cmakedefine01 AFLACLOADER_DEBUG +#endif + #ifndef BACKTRACE_DEBUG #cmakedefine01 BACKTRACE_DEBUG #endif diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake index bf2493aefe..5f78cbff8f 100644 --- a/Meta/CMake/all_the_debug_macros.cmake +++ b/Meta/CMake/all_the_debug_macros.cmake @@ -5,6 +5,7 @@ set(APIC_SMP_DEBUG ON) set(ARP_DEBUG ON) set(AUTOCOMPLETE_DEBUG ON) set(AWAVLOADER_DEBUG ON) +set(AFLACLOADER_DEBUG ON) set(BACKTRACE_DEBUG ON) set(BBFS_DEBUG ON) set(BMP_DEBUG ON)