(svn r1983) Introduce multiple compile time debug levels

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 20 years ago
parent ba89c8d580
commit c26177d14f

@ -286,7 +286,15 @@ ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true)
endif
ifdef DEBUG
CFLAGS += -g -fno-inline -D_DEBUG
ifeq ($(shell expr $(DEBUG) \>= 1), 1)
CFLAGS += -g -D_DEBUG
endif
ifeq ($(shell expr $(DEBUG) \>= 2), 1)
CFLAGS += -fno-inline
endif
ifeq ($(shell expr $(DEBUG) \>= 3), 1)
CFLAGS += -O0
endif
endif
ifdef PROFILE

Loading…
Cancel
Save