summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@tuffmail.com>2014-03-19 12:47:25 -0400
committerBrian Evans <grknight@tuffmail.com>2014-03-19 12:47:25 -0400
commitfa2177554b1b038c59b7e20b30b63f7fc464117e (patch)
tree4104656a8d2313f6ab2b51ab64fb189a36489773
parent[mariadb-galera] Provide a base config and instructions (diff)
downloadmysql-fa2177554b1b038c59b7e20b30b63f7fc464117e.tar.gz
mysql-fa2177554b1b038c59b7e20b30b63f7fc464117e.tar.bz2
mysql-fa2177554b1b038c59b7e20b30b63f7fc464117e.zip
[eclass] Sync with hasufell changes wrt #497532
-rw-r--r--eclass/mysql-cmake.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass
index 7fd992e..96f89b8 100644
--- a/eclass/mysql-cmake.eclass
+++ b/eclass/mysql-cmake.eclass
@@ -277,7 +277,10 @@ mysql-cmake_src_configure() {
CMAKE_BUILD_TYPE="RelWithDebInfo"
+ # debug hack wrt #497532
mycmakeargs=(
+ -DCMAKE_C_FLAGS_RELWITHDEBINFO="$(usex debug "" "-DNDEBUG")"
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$(usex debug "" "-DNDEBUG")"
-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr
-DMYSQL_DATADIR=${EPREFIX}/var/lib/mysql
-DSYSCONFDIR=${EPREFIX}/etc/mysql