Rémi Bernon : faudio: Build with -DNDEBUG.

Alexandre Julliard julliard at winehq.org
Mon Oct 25 16:30:07 CDT 2021


Module: wine
Branch: master
Commit: babaf916ab12c7a9128409f717878919ccc5826b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=babaf916ab12c7a9128409f717878919ccc5826b

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Mon Oct 25 15:36:23 2021 +0200

faudio: Build with -DNDEBUG.

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 \




More information about the wine-cvs mailing list