summaryrefslogtreecommitdiffstats
path: root/build/temp_gyp
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 19:42:02 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 19:42:02 +0000
commitb6c7665634a667d5fd8a3c7454439c94767562d5 (patch)
treef6d11672e94698c0fc2324c8185c22f03e799bee /build/temp_gyp
parentdce7339093b5c63bc45d7c6d75383429407c1872 (diff)
downloadchromium_src-b6c7665634a667d5fd8a3c7454439c94767562d5.zip
chromium_src-b6c7665634a667d5fd8a3c7454439c94767562d5.tar.gz
chromium_src-b6c7665634a667d5fd8a3c7454439c94767562d5.tar.bz2
V8-specific release-specific flags in the gyp build.
Review URL: http://codereview.chromium.org/63064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/temp_gyp')
-rw-r--r--build/temp_gyp/v8.gyp19
1 files changed, 19 insertions, 0 deletions
diff --git a/build/temp_gyp/v8.gyp b/build/temp_gyp/v8.gyp
index a44a266..49f6d0e 100644
--- a/build/temp_gyp/v8.gyp
+++ b/build/temp_gyp/v8.gyp
@@ -248,6 +248,25 @@
'ENABLE_LOGGING_AND_PROFILING',
],
},
+ 'Release': {
+ 'defines': [
+ 'ENABLE_LOGGING_AND_PROFILING',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'cflags!': [
+ '-O2',
+ ],
+ 'cflags': [
+ '-fno-rtti',
+ '-fdata-sections',
+ '-ffunction-sections',
+ '-fomit-frame-pointer',
+ '-O3',
+ ],
+ }],
+ ],
+ },
},
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',