From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A513F13800E for ; Thu, 26 Jul 2012 04:51:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D6E9E070C; Thu, 26 Jul 2012 04:51:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D134CE070C for ; Thu, 26 Jul 2012 04:51:47 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C8F41B4410 for ; Thu, 26 Jul 2012 04:51:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BA6DCE5442 for ; Thu, 26 Jul 2012 04:51:44 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1343278272.e1e1915858aa4c167a8b301c81e846e02bce4ad1.robbat2@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: eclass/ X-VCS-Repository: proj/mysql X-VCS-Files: eclass/mysql-cmake.eclass X-VCS-Directories: eclass/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: e1e1915858aa4c167a8b301c81e846e02bce4ad1 X-VCS-Branch: master Date: Thu, 26 Jul 2012 04:51:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e8d6a5dd-9c13-4e07-b995-ff166007ff33 X-Archives-Hash: 3bc145593f1117e355406c864d98e455 commit: e1e1915858aa4c167a8b301c81e846e02bce4ad1 Author: Robin H. Johnson gentoo org> AuthorDate: Thu Jul 26 04:51:12 2012 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Thu Jul 26 04:51:12 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=e1e19158 Modify tcalloc check slightly. Signed-off-by: Robin H. Johnson gentoo.org> --- eclass/mysql-cmake.eclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass index fb57250..dae7448 100644 --- a/eclass/mysql-cmake.eclass +++ b/eclass/mysql-cmake.eclass @@ -137,7 +137,7 @@ configure_cmake_standard() { mycmakeargs+=( -DWITH_SSL=0 ) fi - if use tcmalloc; then + if mysql_version_is_at_least "5.5" && use tcmalloc; then mycmakeargs+=( -DCMAKE_EXE_LINKER_FLAGS='-ltcmalloc' -DWITH_SAFEMALLOC=OFF ) fi