From 8018113910f12a9dc1f25bb6c8a257f4161a38a1 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 3 Jan 2013 02:33:40 +0100 Subject: [PATCH] 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. --- deps/v8/build/common.gypi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi index e68ee15fde..6d18b46c70 100644 --- a/deps/v8/build/common.gypi +++ b/deps/v8/build/common.gypi @@ -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': [