Skip to content
Snippets Groups Projects
Commit 1f9e69af authored by Oleg Hahm's avatar Oleg Hahm
Browse files

make: enable assert only if DEVELHELP is set

parent a1633d8c
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,10 @@ CFLAGS += -fno-common ...@@ -55,6 +55,10 @@ CFLAGS += -fno-common
# Enable all default warnings # Enable all default warnings
CFLAGS += -Wall CFLAGS += -Wall
ifeq (,$(filter -DDEVELHELP,$(CFLAGS)))
CFLAGS += -DNDEBUG
endif
# Default ARFLAGS for platforms which do not specify it. # Default ARFLAGS for platforms which do not specify it.
# Note: make by default provides ARFLAGS=rv which we want to override # Note: make by default provides ARFLAGS=rv which we want to override
ifeq ($(origin ARFLAGS),default) ifeq ($(origin ARFLAGS),default)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment