Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E66610FFF for ; Thu, 20 Nov 2014 20:15:04 +0000 (UTC) Received: (qmail 49757 invoked by uid 500); 20 Nov 2014 20:15:04 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 49707 invoked by uid 500); 20 Nov 2014 20:15:04 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 49698 invoked by uid 99); 20 Nov 2014 20:15:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2014 20:15:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 26A13946434; Thu, 20 Nov 2014 20:15:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kxepal@apache.org To: commits@couchdb.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: snappy commit: updated refs/heads/master to b344f95 Date: Thu, 20 Nov 2014 20:15:04 +0000 (UTC) Repository: couchdb-snappy Updated Branches: refs/heads/master 0910e27a2 -> b344f9554 Exclude ComputeTable from building Set NDEBUG as CXXFLAGS to skip the compilation of this debug function. The NDEBUG logic is broken because REGISTER_MODULE_INITIALIZER(snappy, ComputeTable()); is set to always result to nothing, independently of NDEBUG. If debug tests should instead be included in the build, both NDEBUG must not be set (as before) but also, REGISTER_MODULE_INITIALIZER repaired. COUCHDB-2463 This closes #1 Signed-off-by: Alexander Shorin Project: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/commit/b344f955 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/tree/b344f955 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/diff/b344f955 Branch: refs/heads/master Commit: b344f9554e094bd6c33cf3950fb8f6384586e996 Parents: 0910e27 Author: H. Diedrich Authored: Fri Nov 14 16:52:09 2014 +0100 Committer: Alexander Shorin Committed: Thu Nov 20 23:14:03 2014 +0300 ---------------------------------------------------------------------- rebar.config | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-snappy/blob/b344f955/rebar.config ---------------------------------------------------------------------- diff --git a/rebar.config b/rebar.config index 8b21c8c..84178d5 100644 --- a/rebar.config +++ b/rebar.config @@ -4,6 +4,7 @@ {port_sources, ["c_src/*.cc", "c_src/snappy/*.cc"]}. {port_env, [ + {"CXXFLAGS", "$CXXFLAGS -DNDEBUG"}, {"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"} ]}. {so_name, "snappy_nif.so"}.