summaryrefslogtreecommitdiff
path: root/openssl/openssl/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-05 20:01:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-05 21:55:46 +0300
commit42d76bb3c765d9ba577ce170d2c70526b9242bd1 (patch)
tree221e7f081e8b4e574e09e2f19873572542eb943e /openssl/openssl/buildfile
parent120e90e307ed8b9ddb51f21189286c28aa48f1ca (diff)
Drop usage of def prerequisite-specific include variable in buildfiles
Diffstat (limited to 'openssl/openssl/buildfile')
-rw-r--r--openssl/openssl/buildfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/openssl/openssl/buildfile b/openssl/openssl/buildfile
index 10eefb6..4e7776a 100644
--- a/openssl/openssl/buildfile
+++ b/openssl/openssl/buildfile
@@ -22,6 +22,8 @@ mingw = ($c.target.system == 'mingw32')
exe{openssl}: apps/c{win32_init}: include = $windows
+# Build options.
+#
if! $windows
{
# Note that the upstream package uses -pthread compiler/linker option on
@@ -65,7 +67,7 @@ if $msvc
#
c.coptions += /wd4090 /wd4244 /wd4267
}
-else
+elif $gcc
{
# Disable warnings that pop up with -Wall -Wextra. Upstream doesn't seem to
# care about these and it is not easy to disable specific warnings in a way