You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2014/11/20 21:15:04 UTC
snappy commit: updated refs/heads/master to b344f95
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 <kx...@apache.org>
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 <hd...@eonblast.com>
Authored: Fri Nov 14 16:52:09 2014 +0100
Committer: Alexander Shorin <kx...@apache.org>
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"}.