summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index bd472e5..ebe9ad8 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -333,6 +333,7 @@
'Release': {
'variables': {
'release_optimize%': '2',
+ 'release_extra_cflags%': '',
},
'cflags': [
'-O<(release_optimize)',
@@ -343,6 +344,7 @@
# can be removed at link time with --gc-sections.
'-fdata-sections',
'-ffunction-sections',
+ '<(release_extra_cflags)',
],
},
},