summaryrefslogtreecommitdiff
path: root/openssl/openssl/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-01-21 15:38:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-01-21 15:38:48 +0300
commite2a2673873e4364ea669439cbe58f478bc3a3b64 (patch)
tree767f55381df9c6907a026b9160c31d6a71ca5209 /openssl/openssl/buildfile
parent27af3fd089cbd21e546ed4a71fcdb796e121d423 (diff)
Release version 1.1.1+9v1.1.1+9
Enable zlib usage Don't define default directory paths Fix 'sslv3 alert bad record mac' failure for some libcrypto function calls
Diffstat (limited to 'openssl/openssl/buildfile')
-rw-r--r--openssl/openssl/buildfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/openssl/openssl/buildfile b/openssl/openssl/buildfile
index f9e317a..8cc2107 100644
--- a/openssl/openssl/buildfile
+++ b/openssl/openssl/buildfile
@@ -16,6 +16,15 @@ exe{openssl}: apps/c{win32_init}: include = $windows
# Build options.
#
+# Note that openssl doesn't use zlib directly. However, it uses functionality
+# that libcrypto additionally provide when zlib is enabled.
+#
+# Also note that upstream also passes -DNDEBUG. Let's omit it for now to
+# enable assertions to gain some extra confidence that we didn't break
+# anything while packaging.
+#
+c.poptions += -DZLIB
+
# Note that the upstream package uses -pthread compiler/linker option on
# Linux and FreeBSD. The option is currently unsupported by build2, so we use
# -D_REENTRANT and -lpthread preprocessor/linker options instead.