[packages/Mesa] - disable asserts for production build

arekm arekm at pld-linux.org
Fri Mar 14 20:04:52 CET 2014


commit d3c10c6a756e0078a08e428ec1d7347ad489c4ec
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Mar 14 20:04:45 2014 +0100

    - disable asserts for production build

 Mesa.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/Mesa.spec b/Mesa.spec
index dd54d0d..fdd8352 100644
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -109,6 +109,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # llvm build broken
 %define		filterout_ld    -Wl,--as-needed
 
+%define		specflags	%{!?with_debug:-DNDEBUG}
+
 %description
 Mesa is a 3-D graphics library with an API which is very similar to
 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/d3c10c6a756e0078a08e428ec1d7347ad489c4ec



More information about the pld-cvs-commit mailing list