]> git.pld-linux.org Git - packages/openssl.git/blobdiff - openssl.spec
- 'purify' bcond added
[packages/openssl.git] / openssl.spec
index 66488f2bc2bb9ea2894209c62c96a1915fde0079..f2a3bdd6e3ce44f0e227081fd97b5cc304e82e68 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with purify     # Compile openssl with \-DPURIFY, usefull when one wants to
+                       # use valgrind debugger against openssl-linked programs
 %include       /usr/lib/rpm/macros.perl
 Summary:       OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
 Summary(de):   Secure Sockets Layer (SSL)-Kommunikationslibrary
@@ -193,7 +197,7 @@ touch Makefile.*
 
 %{__perl} util/perlpath.pl %{__perl}
 
-OPTFLAGS="%{rpmcflags}"
+OPTFLAGS="%{rpmcflags} %{?with_purify:-DPURIFY}"
 export OPTFLAGS
 ./Configure \
        --openssldir=%{_var}/lib/%{name} \
This page took 0.022314 seconds and 4 git commands to generate.