aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2017-12-15 15:28:50 +0000
committerRoberto Vargas <roberto.vargas@arm.com>2018-05-01 16:30:05 +0100
commit379dcab7945abe206baf54304c6fbf68963c3f42 (patch)
tree3f9745965e1960e8623d98c4cb6522903f203ca3 /Makefile
parenta8d9550b527107b85703d7b4e93073e653ae95f7 (diff)
downloadarm-trusted-firmware-379dcab7945abe206baf54304c6fbf68963c3f42.tar.gz
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 <roberto.vargas@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
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