[mona] Build with -DNDEBUG to disable assertions.

Jerry James jjames at fedoraproject.org
Mon Apr 29 16:16:09 UTC 2013


commit cfa953fb60d8d90cb4c4d0e5d19300112f49c006
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Mon Apr 29 10:15:25 2013 -0600

    Build with -DNDEBUG to disable assertions.

 mona.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/mona.spec b/mona.spec
index ca5e960..4162cb1 100644
--- a/mona.spec
+++ b/mona.spec
@@ -97,7 +97,8 @@ mv -v Front/lib.cpp.new Front/lib.cpp
 
 %build
 %configure --disable-static
-make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}"
+make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+  CXXFLAGS="${RPM_OPT_FLAGS} -DNDEBUG"
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT


More information about the scm-commits mailing list