From 9c0ddcb3ef21a7a308817abc1b339a8682032206 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Thu, 24 Feb 2011 06:56:25 +0000
Subject: [PATCH] Added NDEBUG flag to Makefile for AMDiS codes.

---
 AMDiS/other/include/Makefile_AMDiS.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AMDiS/other/include/Makefile_AMDiS.mk b/AMDiS/other/include/Makefile_AMDiS.mk
index 87e1eae3..cd1788c9 100644
--- a/AMDiS/other/include/Makefile_AMDiS.mk
+++ b/AMDiS/other/include/Makefile_AMDiS.mk
@@ -108,7 +108,7 @@ endif
 # ============================================================================
 
 ifeq ($(strip $(DEBUG)), 0)
-       CPPFLAGS += -O3
+       CPPFLAGS += -O3 -DNDEBUG
 else
        CPPFLAGS += -g -O0 -DDEBUG=1
 endif
-- 
GitLab