aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-08 00:30:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-08 18:35:12 +0300
commit8e3365a02ef45f3c31b0ed18b9c125b8e80636fa (patch)
tree386c0d93eff7c66a4a534efe44158bb51c199168 /build/root.build
parentc5cba029e1c94757b02cc78bcd031cf22567ef80 (diff)
Release version 10.2.10+8v10.2.10+8
Adapt for building with Clang on Windows
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/root.build b/build/root.build
index 31a6f14..d323a4b 100644
--- a/build/root.build
+++ b/build/root.build
@@ -9,10 +9,10 @@ using c
h{*}: extension = h
c{*}: extension = c
-if ($c.class == 'msvc')
-{
+if ($c.target.system == 'win32-msvc')
c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
+if ($c.class == 'msvc')
c.coptions += /wd4251 /wd4275 /wd4800
-}
using in