build: fix mksnapshot crash on sunos
authorBen Noordhuis <info@bnoordhuis.nl>
Wed, 18 Jul 2012 21:26:23 +0000 (21:26 +0000)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 18 Jul 2012 21:26:00 +0000 (23:26 +0200)
commit98b1ce91f6ab65b88b759e7ada18133b9257b203
treeaf3372225ea39a3a37f5dff33f54b3fe66baa66d
parentbeb7425c186c405b7fbe4332435a9b552753b561
build: fix mksnapshot crash on sunos

Unconditionally compile V8 with -fno-strict-aliasing on all platforms.

gcc 4.5.2 on sunos generates bad code when -fstrict-aliasing is enabled, which
undoubtedly means that there are more buggy versions of gcc out there.

-fstrict-aliasing does not give a significant performance boost so let's just
disable it.

Fixes #3736.
configure