diff options
Diffstat (limited to 'third_party/libjpeg')
-rw-r--r-- | third_party/libjpeg/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/libjpeg/SConscript b/third_party/libjpeg/SConscript index 5c4fce7..f25beb1 100644 --- a/third_party/libjpeg/SConscript +++ b/third_party/libjpeg/SConscript @@ -45,6 +45,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 = [ 'jcapimin.c', |