summaryrefslogtreecommitdiff
path: root/openssl/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/build/root.build')
-rw-r--r--openssl/build/root.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/openssl/build/root.build b/openssl/build/root.build
index 2a4a530..e5ca350 100644
--- a/openssl/build/root.build
+++ b/openssl/build/root.build
@@ -7,6 +7,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