diff options
Diffstat (limited to 'third_party/bspatch/SConscript')
-rw-r--r-- | third_party/bspatch/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/bspatch/SConscript b/third_party/bspatch/SConscript index 7f93b68..d7eef03 100644 --- a/third_party/bspatch/SConscript +++ b/third_party/bspatch/SConscript @@ -52,6 +52,10 @@ if env['PLATFORM'] == 'win32': '/wd4800', ], ) +elif env['PLATFORM'] == 'posix': + if '-Wall' in env['CCFLAGS']: + # We're not responsible for bad warning hygiene in this third party code. + env['CCFLAGS'].remove('-Wall') input_files = [ 'mbspatch.cc', |