summaryrefslogtreecommitdiff
path: root/build/standalone.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/standalone.gypi')
-rw-r--r--build/standalone.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 2eac19882c..de638de97c 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -59,8 +59,10 @@
}],
['OS=="linux" or OS=="mac"', {
'clang%': 1,
+ 'host_clang%': 1,
}, {
'clang%': 0,
+ 'host_clang%': 0,
}],
# Set default gomadir.
['OS=="win"', {
@@ -261,6 +263,10 @@
'-Wno-unused-parameter',
],
},
+ 'variables': {
+ 'clang_warning_flags': [],
+ },
+ 'includes': [ 'set_clang_warning_flags.gypi', ],
'conditions': [
['component=="shared_library"', {
'cflags': [