Sha256: 1cf258e9413c6c5fe7cf8e322178c32017e0ed38b6340aae70b8de62e2211747
Contents?: true
Size: 503 Bytes
Versions: 19
Compression:
Stored size: 503 Bytes
Contents
if RUBY_VERSION < '2.0' STDERR.print("Ruby version is too old\n") exit(1) end require 'mkmf' makefile_config = RbConfig::MAKEFILE_CONFIG makefile_config['CC'] = ENV['CC'] if ENV['CC'] makefile_config['CFLAGS'] << ' -Wall -Werror' makefile_config['CFLAGS'] << ' -gdwarf-2 -g3 -O0' if ENV['debug'] if makefile_config['CC'] =~ /clang/ makefile_config['CFLAGS'] << ' -Wno-unknown-warning-option' end dir_config('ruby') with_cflags(makefile_config['CFLAGS']) { create_makefile('byebug/byebug') }
Version data entries
19 entries across 18 versions & 3 rubygems