1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 05:53:49 +01:00

Merge pull request #3474 from OlegHahm/assert_devel_help

make: enable assert only if DEVELHELP is set
This commit is contained in:
Kaspar Schleiser 2015-08-12 13:29:56 +02:00
commit 56cceb65ed

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)