mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: enable assert only if DEVELHELP is set
This commit is contained in:
parent
a1633d8c29
commit
1f9e69af1b
@ -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…
Reference in New Issue
Block a user