Commit 379dcab7 authored by Roberto Vargas's avatar Roberto Vargas
Browse files

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: default avatarRoberto Vargas <roberto.vargas@arm.com>
parent a8d9550b
...@@ -90,7 +90,6 @@ ifneq (${DEBUG}, 0) ...@@ -90,7 +90,6 @@ ifneq (${DEBUG}, 0)
LOG_LEVEL := 40 LOG_LEVEL := 40
else else
BUILD_TYPE := release BUILD_TYPE := release
$(eval $(call add_define,NDEBUG))
# Use LOG_LEVEL_NOTICE by default for release builds # Use LOG_LEVEL_NOTICE by default for release builds
LOG_LEVEL := 20 LOG_LEVEL := 20
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment