Disable strict aliasing This is motivated by issue #60 to see if we can get away with `-O3` while still handling the cast of a `Decoder**` to `void**`.
Fixes #60 Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/307c3838 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/307c3838 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/307c3838 Branch: refs/heads/master Commit: 307c3838214bdf78afcfc2becbf65229daa99cd8 Parents: b3ef636 Author: Paul J. Davis <[email protected]> Authored: Tue Jun 17 14:48:40 2014 -0500 Committer: Paul J. Davis <[email protected]> Committed: Tue Jun 17 14:48:40 2014 -0500 ---------------------------------------------------------------------- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/307c3838/rebar.config ---------------------------------------------------------------------- diff --git a/rebar.config b/rebar.config index 910433c..e805dba 100644 --- a/rebar.config +++ b/rebar.config @@ -7,7 +7,7 @@ ]}. {port_env, [ - {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -O3"}, + {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -O3 -fno-strict-aliasing"}, {".*", "CXXFLAGS", "$CXXFLAGS -g -Wall -Werror -O3"}, {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
