diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-07 20:41:00 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-08 18:41:31 +0300 |
commit | fc9499b8a7b7a3e350bfabf2cd6ae0bc13f04bea (patch) | |
tree | 0e79203726137afadc4da2ee0f02dd0b8ebad11e /build | |
parent | eb6a46a0e08374940641fe753b53e0570d67c787 (diff) |
Adapt for building with Clang on Windows
Diffstat (limited to 'build')
-rw-r--r-- | build/root.build | 6 |
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 -} |