Sha256: eba8e9178695b464112b6d92628ae586230dcc5f49ef8d6f3fec82dbb9503693

Contents?: true

Size: 315 Bytes

Versions: 7

Compression:

Stored size: 315 Bytes

Contents

require 'mkmf'

RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']

if RUBY_VERSION < "2.0"
  STDERR.print("Ruby version is too old\n")
  exit(1)
end

if RbConfig::MAKEFILE_CONFIG['CC'] =~ /gcc/
  $CFLAGS = '-Wall -Werror'
  $CFLAGS += ' -g3' if ENV['debug']
end

dir_config("ruby")
create_makefile("byebug")

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
byebug-1.8.2 ext/byebug/extconf.rb
byebug-1.8.1 ext/byebug/extconf.rb
byebug-1.8.0 ext/byebug/extconf.rb
byebug-1.7.0 ext/byebug/extconf.rb
byebug-1.6.1 ext/byebug/extconf.rb
byebug-1.4.2 ext/byebug/extconf.rb
byebug-1.4.1 ext/byebug/extconf.rb