浏览代码

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
pull/65/head 0.11.2
Paul J. Davis 11 年前
父节点
当前提交
307c383821
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      rebar.config

+ 1
- 1
rebar.config 查看文件

@ -7,7 +7,7 @@
]}. ]}.
{port_env, [ {port_env, [
{".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -O3"},
{".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -O3 -fno-strict-aliasing"},
{".*", "CXXFLAGS", "$CXXFLAGS -g -Wall -Werror -O3"}, {".*", "CXXFLAGS", "$CXXFLAGS -g -Wall -Werror -O3"},
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)", {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",

正在加载...
取消
保存