summaryrefslogtreecommitdiffstats
path: root/build/internal/essential.scons
diff options
context:
space:
mode:
Diffstat (limited to 'build/internal/essential.scons')
-rw-r--r--build/internal/essential.scons6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/internal/essential.scons b/build/internal/essential.scons
index bca07f2..547f73a 100644
--- a/build/internal/essential.scons
+++ b/build/internal/essential.scons
@@ -21,7 +21,7 @@ env.Append(
],
)
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
incremental = env.get('INCREMENTAL')
if incremental is not None:
if incremental:
@@ -110,7 +110,7 @@ if env['PLATFORM'] == 'win32':
'/EH', # VCCLCompilerTool.ExceptionHandling="0"
],
)
-elif env['PLATFORM'] == 'posix':
+elif env.Bit('linux'):
pass
-elif env['PLATFORM'] == 'mac':
+elif env.Bit('mac'):
pass