v8: remove optimization switches
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 3 Jan 2013 01:33:40 +0000 (02:33 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 3 Jan 2013 01:37:22 +0000 (02:37 +0100)
Remove compiler switches from $(TOPLEVEL)/deps/v8/build/common.gypi,
we set them globally in $(TOPLEVEL)/common.gypi.

Commit 7b4d95a introduced the switches again, resulting in V8 getting
built without any optimizations.

This commit is essentially a rehash of commit 4b8629d.

deps/v8/build/common.gypi

index e68ee15..6d18b46 100644 (file)
           }],
           ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
             or OS=="android"', {
-            'cflags!': [
-              '-O2',
-              '-Os',
-            ],
-            'cflags': [
-              '-fdata-sections',
-              '-ffunction-sections',
-              '-O3',
-            ],
             'conditions': [
               [ 'gcc_version==44 and clang==0', {
                 'cflags': [