Skip to content

Commit

Permalink
v8: remove optimization switches
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bnoordhuis authored and indutny committed Jan 11, 2013
1 parent d22bd9e commit 8018113
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions deps/v8/build/common.gypi
Expand Up @@ -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': [
Expand Down

0 comments on commit 8018113

Please sign in to comment.