diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-10-25 00:52:15 +0200 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-06-26 08:16:10 -0700 |
commit | ca3976726b1f87ff8e050a61acc054e71e05d46d (patch) | |
tree | 416d9cfc1724b2ea5f34a9a449d6de1ece3952e8 | |
parent | c86b3815b538db07353ea77140b14872a95d2d33 (diff) | |
download | node-new-ca3976726b1f87ff8e050a61acc054e71e05d46d.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.
-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 5d6132c706..7b8a32b205 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': [ |