diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-10-25 00:52:15 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-10-25 01:06:00 +0200 |
commit | 4b8629db3717a587a44b373cd10351e005b190f3 (patch) | |
tree | 4e1a5898b5209ca9dfbd3999c22560e9cb9d9b2e /deps | |
parent | 28e6403a56bcb5af4b4127c3e2fe87d2113ab3b7 (diff) | |
download | node-4b8629db3717a587a44b373cd10351e005b190f3.tar.gz |
v8: remove optimization switches
Remove compiler switches from $(TOPLEVEL)/deps/v8/build/common.gypi, we set
them globally in $(TOPLEVEL)/common.gypi.
Commit 29d12c73 accidentally reintroduced the switches again. In particular,
the 'cflags!': ['-O2','-Os'] section forced building V8 without any
optimizations, resulting in a steep (~66%) performance drop on some benchmarks.
Fixes #4191.
Diffstat (limited to 'deps')
-rw-r--r-- | deps/v8/build/common.gypi | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi index 5d6132c70..7b8a32b20 100644 --- a/deps/v8/build/common.gypi +++ b/deps/v8/build/common.gypi @@ -339,16 +339,6 @@ 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ or OS=="android"', { - 'cflags!': [ - '-O2', - '-Os', - ], - 'cflags': [ - '-fdata-sections', - '-ffunction-sections', - '-fomit-frame-pointer', - '-O3', - ], 'conditions': [ [ 'gcc_version==44 and clang==0', { 'cflags': [ |