summaryrefslogtreecommitdiffstats
path: root/build/temp_gyp
diff options
context:
space:
mode:
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',