From 379dcab7945abe206baf54304c6fbf68963c3f42 Mon Sep 17 00:00:00 2001 From: Roberto Vargas Date: Fri, 15 Dec 2017 15:28:50 +0000 Subject: Remove the unused macro NDEBUG The C standards specify that this macro is used to disable asserts but, in our code, the assert macro is controlled with ENABLE_ASSERTIONS. Having this macro here creates confusion about the behaviour of assert. Change-Id: Iab8689a14dc2b8790729857d56585ce43c0c4f51 Signed-off-by: Roberto Vargas --- Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a8378462b..79f525345 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,6 @@ ifneq (${DEBUG}, 0) LOG_LEVEL := 40 else BUILD_TYPE := release - $(eval $(call add_define,NDEBUG)) # Use LOG_LEVEL_NOTICE by default for release builds LOG_LEVEL := 20 endif -- cgit v1.2.3