Index: third_party/libjpeg/libjpeg.scons |
=================================================================== |
--- third_party/libjpeg/libjpeg.scons (revision 7247) |
+++ third_party/libjpeg/libjpeg.scons (working copy) |
@@ -41,14 +41,14 @@ |
], |
) |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
env.Append( |
CCFLAGS = [ |
'/TC', |
'/wd4800', |
], |
) |
-elif env['PLATFORM'] == 'posix': |
+elif env.Bit('linux'): |
if '-Wall' in env['CCFLAGS']: |
# We're not responsible for bad warning hygiene in this third party code. |
env['CCFLAGS'].remove('-Wall') |