aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-07 20:41:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-08 18:41:31 +0300
commitfc9499b8a7b7a3e350bfabf2cd6ae0bc13f04bea (patch)
tree0e79203726137afadc4da2ee0f02dd0b8ebad11e /build/root.build
parenteb6a46a0e08374940641fe753b53e0570d67c787 (diff)
Release version 9.6.5+6HEADv9.6.5+6master
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 e9ef574..8ab7774 100644
--- a/build/root.build
+++ b/build/root.build
@@ -9,8 +9,8 @@ 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
-}