summaryrefslogtreecommitdiff
path: root/src/handle_wrap.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-07-06 14:59:15 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-07-06 16:53:07 +0200
commit9b3de60d3537df657e75887436a5b1df5ed80c2d (patch)
tree9effad631286cceb485a77d665ae69676af6d90f /src/handle_wrap.h
parent588040d20d87adc1dced78a3c7243b0a27ae8ec5 (diff)
downloadandroid-node-v8-9b3de60d3537df657e75887436a5b1df5ed80c2d.tar.gz
android-node-v8-9b3de60d3537df657e75887436a5b1df5ed80c2d.tar.bz2
android-node-v8-9b3de60d3537df657e75887436a5b1df5ed80c2d.zip
build: remove --unsafe-optimizations flag
The previous commit removes our patch that builds V8 at -O2 rather than -O3 so there is not much point in keeping the configure switch around. The reason it did so was to work around an assortment of compiler and linker bugs. In particular, certain combinations of g++ and binutils generate bad or no code when -ffunction-sections or -finline-functions is enabled (which -O3 implicitly does.) It was quite the problem back in the day because everyone and his dog built from source. Now that we have prebuilt binaries and packages available, there is no longer a pressing need to be so accommodating. If you experience spurious (or possibly not so spurious) segmentation faults after this commit, you need to upgrade your compiler/linker toolchain.
Diffstat (limited to 'src/handle_wrap.h')
0 files changed, 0 insertions, 0 deletions