projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47bcda7
)
Need to define MESA_DEBUG in debug builds. Otherwise, NDEBUG gets
author
Karl Schultz
<kschultz@freedesktop.org>
Thu, 4 Oct 2001 19:06:31 +0000
(19:06 +0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Thu, 4 Oct 2001 19:06:31 +0000
(19:06 +0000)
defined, which is bad for things like assert().
src/mesa/main/Makefile.win
patch
|
blob
|
history
diff --git
a/src/mesa/main/Makefile.win
b/src/mesa/main/Makefile.win
index d3d9d7a3d24a120120ea81e8379ba113322dc93e..ebc72c115388e8bf8717dacb667647fba7f40276 100644
(file)
--- 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)