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