From 307c3838214bdf78afcfc2becbf65229daa99cd8 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Tue, 17 Jun 2014 14:48:40 -0500 Subject: [PATCH] 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 --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)",