1
0
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:
Oleg Hahm 2015-07-22 15:30:08 +02:00
parent a1633d8c29
commit 1f9e69af1b

View File

@ -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)