提交 488e2b0f 编写于 作者: R Richard Levitte

Add the C macro NDEBUG when configuring for release

Reviewed-by: NAndy Polyakov <appro@openssl.org>
Reviewed-by: NEmilia Käsper <emilia@openssl.org>
上级 368058d0
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册