commit | 40a6f64795847f2b96ec24e9b11cb7002f0b48bf | [log] [tgz] |
---|---|---|
author | James Morrissey <james.morrissey@arm.com> | Mon Feb 10 14:24:36 2014 +0000 |
committer | Dan Handley <dan.handley@arm.com> | Mon Feb 17 18:51:43 2014 +0000 |
tree | 114e57eca37970dddbb35e33538f7a75da515ca5 | |
parent | df64a55b3a675a61b88bb4d0a357ba7085000cdc [diff] [blame] |
Fix asserts appearing in release builds Also fix warnings generated in release builds when assert code is absent. Change-Id: I45b9173d3888f9e93e98eb5b4fdc06727ba5cbf4
diff --git a/Makefile b/Makefile index 7938318..f64a700 100644 --- a/Makefile +++ b/Makefile
@@ -154,6 +154,8 @@ CFLAGS += -g # -save-temps -fverbose-asm ASFLAGS += -g -Wa,--gdwarf-2 +else +CFLAGS += -DNDEBUG=1 endif