NDEBUG is ignored since Ruby 3.0
This commit is contained in:
parent
f985dafee7
commit
795fb51f80
@ -6,7 +6,10 @@
|
|||||||
require "mkmf"
|
require "mkmf"
|
||||||
require File.expand_path("../../digest_conf", __FILE__)
|
require File.expand_path("../../digest_conf", __FILE__)
|
||||||
|
|
||||||
$defs << "-DNDEBUG" << "-DHAVE_CONFIG_H"
|
if try_static_assert("RUBY_API_VERSION_MAJOR < 3", "ruby/version.h")
|
||||||
|
$defs << "-DNDEBUG"
|
||||||
|
end
|
||||||
|
$defs << "-DHAVE_CONFIG_H"
|
||||||
|
|
||||||
$objs = [ "rmd160init.#{$OBJEXT}" ]
|
$objs = [ "rmd160init.#{$OBJEXT}" ]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user