]> git.pld-linux.org Git - packages/Mesa.git/commitdiff
- disable asserts for production build
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 14 Mar 2014 19:04:45 +0000 (20:04 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 14 Mar 2014 19:04:45 +0000 (20:04 +0100)
Mesa.spec

index dd54d0db0d53d72d35d5722b3c0223fd294039aa..fdd8352fb9e269c19c1ee5f594b39f31a29786ca 100644 (file)
--- 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
This page took 0.052663 seconds and 4 git commands to generate.