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 2015/07/29 00:42:52 UTC
[27/54] jiffy commit: updated refs/heads/master to ef77de4
rebar.config: fix Windows support (CFLAGS, CXXFLAGS)
Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/f92793a8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/f92793a8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/f92793a8
Branch: refs/heads/master
Commit: f92793a81765182c936e9dc5c9321c73ad7a84c7
Parents: 137d3d9
Author: Tuncer Ayaz <tu...@gmail.com>
Authored: Wed Jan 14 15:50:56 2015 +0100
Committer: Tuncer Ayaz <tu...@gmail.com>
Committed: Wed Jan 14 15:50:56 2015 +0100
----------------------------------------------------------------------
rebar.config | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/f92793a8/rebar.config
----------------------------------------------------------------------
diff --git a/rebar.config b/rebar.config
index e805dba..3d725b6 100644
--- a/rebar.config
+++ b/rebar.config
@@ -7,8 +7,10 @@
]}.
{port_env, [
- {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -O3 -fno-strict-aliasing"},
- {".*", "CXXFLAGS", "$CXXFLAGS -g -Wall -Werror -O3"},
+ {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+ "CFLAGS", "$CFLAGS -g -Wall -Werror -O3 -fno-strict-aliasing"},
+ {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+ "CXXFLAGS", "$CXXFLAGS -g -Wall -Werror -O3"},
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
"LDFLAGS", "$LDFLAGS -lstdc++"},