[PATCH] faudio: Build with -DNDEBUG.
Rémi Bernon
rbernon at codeweavers.com
Mon Oct 25 08:36:23 CDT 2021
Unix version of FAudio uses SDL_assert for its assertions, which is
generally compiled as no-op in release builds. This better matches the
original behavior.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51921
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
libs/faudio/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/faudio/Makefile.in b/libs/faudio/Makefile.in
index 9058cac6543..3a9bb591227 100644
--- a/libs/faudio/Makefile.in
+++ b/libs/faudio/Makefile.in
@@ -1,6 +1,6 @@
EXTLIB = libfaudio.a
EXTRAINCL = -I$(srcdir)/include
-EXTRADEFS = -DFAUDIO_WIN32_PLATFORM -DHAVE_WMADEC
+EXTRADEFS = -DFAUDIO_WIN32_PLATFORM -DHAVE_WMADEC -DNDEBUG
C_SRCS = \
src/F3DAudio.c \
--
2.33.0
More information about the wine-devel
mailing list