summaryrefslogtreecommitdiff
path: root/libcrypto/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypto/build/root.build')
-rw-r--r--libcrypto/build/root.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/libcrypto/build/root.build b/libcrypto/build/root.build
index f93eb56..0b6d720 100644
--- a/libcrypto/build/root.build
+++ b/libcrypto/build/root.build
@@ -9,6 +9,8 @@ using c
h{*}: extension = h
c{*}: extension = c
-# The test target for cross-testing (running tests under Wine, etc).
-#
-test.target = $c.target
+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