mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
Need to define MESA_DEBUG in debug builds. Otherwise, NDEBUG gets
defined, which is bad for things like assert().
This commit is contained in:
parent
47bcda78e2
commit
8f47563559
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue