Browse Source

make: enable assert only if DEVELHELP is set

dev/timer
Oleg Hahm 8 years ago
parent
commit
1f9e69af1b
  1. 4
      Makefile.cflags

4
Makefile.cflags

@ -55,6 +55,10 @@ CFLAGS += -fno-common
# Enable all default warnings
CFLAGS += -Wall
ifeq (,$(filter -DDEVELHELP,$(CFLAGS)))
CFLAGS += -DNDEBUG
endif
# Default ARFLAGS for platforms which do not specify it.
# Note: make by default provides ARFLAGS=rv which we want to override
ifeq ($(origin ARFLAGS),default)

Loading…
Cancel
Save