0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

v8: remove optimization switches

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.
This commit is contained in:
Ben Noordhuis 2013-01-03 02:33:40 +01:00 committed by Fedor Indutny
parent d22bd9e3c4
commit 8018113910

View File

@ -399,15 +399,6 @@
}],
['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': [