diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-03-19 00:55:48 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-03-19 00:55:48 +0000 |
commit | e54d19ca65fc24de540fc336c3f84db5ab151562 (patch) | |
tree | d91104bc8ea5f52e70450097e2f3655e7c28aada /eclass/mysql-cmake.eclass | |
parent | remove -Werror flag wrt #494332 (diff) | |
download | historical-e54d19ca65fc24de540fc336c3f84db5ab151562.tar.gz historical-e54d19ca65fc24de540fc336c3f84db5ab151562.tar.bz2 historical-e54d19ca65fc24de540fc336c3f84db5ab151562.zip |
respect CFLAGS wrt #497532
Diffstat (limited to 'eclass/mysql-cmake.eclass')
-rw-r--r-- | eclass/mysql-cmake.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass index 548bbd3c2c69..c5ecf7633fa2 100644 --- a/eclass/mysql-cmake.eclass +++ b/eclass/mysql-cmake.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.17 2013/06/27 17:23:33 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.18 2014/03/19 00:55:48 hasufell Exp $ # @ECLASS: mysql-cmake.eclass # @MAINTAINER: @@ -238,7 +238,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 |