[packages/mysql/MYSQL_5_0] add bcond to build with profiling
glen
glen at pld-linux.org
Tue Jan 19 15:58:34 CET 2016
commit 1899e2520d9f0962df9ab72283c582a01b128a69
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 19 16:08:25 2016 +0200
add bcond to build with profiling
mysql.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/mysql.spec b/mysql.spec
index 60436de..cedb489 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -13,6 +13,7 @@
%bcond_without tcpd # Without libwrap (tcp_wrappers) support
%bcond_without autodeps # BR packages needed only for resolving deps
%bcond_with bdb # Berkeley DB support
+%bcond_with profiling # Add query-profiling code.
%bcond_without sphinx # Sphinx storage engine support
%bcond_with xtrabackup # XtraBackup
@@ -618,6 +619,7 @@ CPPFLAGS="%{rpmcppflags}"
--with-comment="PLD Linux Distribution MySQL RPM" \
--with%{!?debug:out}-debug \
--with%{!?debug:out}-ndb-debug \
+ %{?with_profiling:--enable-profiling} \
--with-embedded-server \
--with-extra-charsets=all \
--with-low-memory \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/1899e2520d9f0962df9ab72283c582a01b128a69
More information about the pld-cvs-commit
mailing list