From 8f475635594f0c0e00461d01b43ef6f42006aa88 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Thu, 4 Oct 2001 19:06:31 +0000 Subject: [PATCH] Need to define MESA_DEBUG in debug builds. Otherwise, NDEBUG gets defined, which is bad for things like assert(). --- src/mesa/main/Makefile.win | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/Makefile.win b/src/mesa/main/Makefile.win index d3d9d7a3d24..ebc72c11538 100644 --- a/src/mesa/main/Makefile.win +++ b/src/mesa/main/Makefile.win @@ -154,6 +154,9 @@ all : mesadll $(SUBDIRS) mesadll : $(MESADLL) CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -DBUILD_GL32 -DNO_PARALLEL -DNO_STEREO +!IFNDEF NODEBUG +CFLAGS = $(CFLAGS) -DMESA_DEBUG +!ENDIF LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS) OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj) -- 2.30.2