Sha256: bbbc3b7994bb0d523a8301c16d9fe6399ab955110055ce1470130438ecc783db
Contents?: true
Size: 477 Bytes
Versions: 2
Compression:
Stored size: 477 Bytes
Contents
require "mkmf" # This function was added in Ruby 2.5, so once Ruby 2.4 is no longer supported this can be removed have_func('rb_tracearg_callee_id', ["ruby.h"]) # We want to intermix declarations and code (ie, don't define all variables at the top of the method) $CFLAGS += ' -std=c99' # And since we are using C99 we want to disable Ruby sending these warnings to gcc CONFIG['warnflags'].gsub!('-Wdeclaration-after-statement', '') create_makefile("ruby_prof")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-prof-1.4.1-x64-mingw32 | ext/ruby_prof/extconf.rb |
ruby-prof-1.4.1 | ext/ruby_prof/extconf.rb |