summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
Diffstat (limited to 'skia')
-rw-r--r--skia/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/skia/SConscript b/skia/SConscript
index a646836..74723d4 100644
--- a/skia/SConscript
+++ b/skia/SConscript
@@ -37,9 +37,8 @@ if env['PLATFORM'] == 'win32':
],
)
elif env['PLATFORM'] in ('posix', 'darwin'):
- if '-Wall' in env['CCFLAGS']:
- # We're not responsible for bad warning hygiene in this third party code.
- env['CCFLAGS'].remove('-Wall')
+ # Because images/SkStream.cpp has len asserts.
+ env['CXXFLAGS'].append('-Wno-unused-variable')
input_files = [
'animator/SkTime.cpp',