[openssl-commits] [openssl] master update
Richard Levitte
levitte at openssl.org
Fri Apr 1 20:48:50 UTC 2016
The branch master has been updated
via 488e2b0f5ae791ea17fd5b1880c4945a3306ca8e (commit)
from 368058d0a79d2e3b853746b09ca86679a86ac233 (commit)
- Log -----------------------------------------------------------------
commit 488e2b0f5ae791ea17fd5b1880c4945a3306ca8e
Author: Richard Levitte <levitte at openssl.org>
Date: Fri Apr 1 16:03:46 2016 +0200
Add the C macro NDEBUG when configuring for release
Reviewed-by: Andy Polyakov <appro at openssl.org>
Reviewed-by: Emilia Käsper <emilia at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
Configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Configure b/Configure
index 1caba71..fdd8820 100755
--- a/Configure
+++ b/Configure
@@ -912,6 +912,8 @@ if ($target{build_scheme}->[0] eq "unified" && $classic) {
my ($builder, $builder_platform, @builder_opts) =
@{$target{build_scheme}};
+push @{$config{defines}}, "NDEBUG" if $config{build_type} eq "release";
+
if ($target =~ /^mingw/ && `$target{cc} --target-help 2>&1` =~ m/-mno-cygwin/m)
{
$config{cflags} .= " -mno-cygwin";
More information about the openssl-commits
mailing list