commit 52785548cd53952cbb596ef827ebb7e708c22c23
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Apr 7 22:21:35 2015 +0300

    build with our cflags

 webscalesql.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/webscalesql.spec b/webscalesql.spec
index f055b03..af5ca9e 100644
--- a/webscalesql.spec
+++ b/webscalesql.spec
@@ -1,5 +1,6 @@
 # TODO
 # - fix openssl detect: -DWITH_SSL=%{?with_ssl:system}%{!?with_ssl:no}
+# - system zlib -DWITH_ZLIB=system
 #
 # Conditional build:
 %bcond_without ssl             # OpenSSL support
@@ -82,19 +83,20 @@ cd build
   # XXX: install_layout so we can't just set it based on INSTALL_LAYOUT=RPM
 
 %cmake .. \
-       -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-       -DBUILD_CONFIG=mysql_release \
+       %{?debug:-DWITH_DEBUG=ON} \
        -DINSTALL_LAYOUT=RPM \
        -DCOMPILATION_COMMENT="WebScaleSQL Server (GPL)" \
        -DFEATURE_SET="community" \
        -DMYSQL_SERVER_SUFFIX="" \
        -DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock \
-       -DWITH_INNODB_MEMCACHED=1 \
+       -DWITH_INNODB_MEMCACHED=ON \
+       -DENABLE_MEMCACHED_SASL=OFF \
        -DWITH_SSL=bundled \
        -DWITH_UNIT_TESTS=OFF \
        -DWITHOUT_SERVER=ON \
+       %{nil}
 
-%{__make} VERBOSE=1
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/webscalesql.git/commitdiff/52785548cd53952cbb596ef827ebb7e708c22c23

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to