From e1c3dbd9ccf56ba4427e644017c4ad1309c54912 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 6 Oct 2019 21:52:04 +0300 Subject: Adapt for building with Clang on Windows --- build/root.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build/root.build b/build/root.build index cdbd7ef..ece30fb 100644 --- a/build/root.build +++ b/build/root.build @@ -11,11 +11,11 @@ ixx{*}: extension = ixx txx{*}: extension = txx cxx{*}: extension = cxx -if ($cxx.class == 'msvc') -{ +if ($cxx.target.system == 'win32-msvc') cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + +if ($cxx.class == 'msvc') cxx.coptions += /wd4251 /wd4275 /wd4800 -} # Load the cli module but only if it's available. This way a distribution # that includes pre-generated files can be built without installing cli. -- cgit v1.1