Commit 30b29d8f authored by Ben Noordhuis's avatar Ben Noordhuis Committed by isaacs
Browse files

build: disable -fstrict-aliasing if gcc < 4.6.0

A compiler bug in older versions of gcc makes it do unsafe optimizations at -O1
and higher. This manifested itself with (at least) gcc 4.5.2 on SmartOS because
it made V8 hang in a busy loop.

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883
parent 0613af0a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment