diff --git a/Makefile.cflags b/Makefile.cflags
index fe63998d56fa041dabb92bcd58f69dab9ea7f846..3755c1028bbed6144af9fc0a676aa558e33015a3 100644
--- a/Makefile.cflags
+++ b/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)