Sha256: a1faf2f6b890ede6dc15fd86d86db0e22cfd49b1d577950b6c6bd3cf1342eb7f

Contents?: true

Size: 417 Bytes

Versions: 17

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

require 'mkmf'
require "rbconfig"

if RbConfig::MAKEFILE_CONFIG["CFLAGS"].include?("-g -O3")
  fixed_CFLAGS = RbConfig::MAKEFILE_CONFIG["CFLAGS"].sub("-g -O3", "-O3 $(cflags)")
  puts("Fix CFLAGS: #{RbConfig::MAKEFILE_CONFIG["CFLAGS"]} -> #{fixed_CFLAGS}")
  RbConfig::MAKEFILE_CONFIG["CFLAGS"] = fixed_CFLAGS
end

CONFIG["optflags"] = "-O3"

create_makefile('smarter_csv/smarter_csv')

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
smarter_csv-1.13.1 ext/smarter_csv/extconf.rb
smarter_csv-1.13.0 ext/smarter_csv/extconf.rb
smarter_csv-1.12.1 ext/smarter_csv/extconf.rb
smarter_csv-1.12.0 ext/smarter_csv/extconf.rb
smarter_csv-1.12.0.pre1 ext/smarter_csv/extconf.rb
smarter_csv-1.11.2 ext/smarter_csv/extconf.rb
smarter_csv-1.11.1 ext/smarter_csv/extconf.rb
smarter_csv-1.11.0 ext/smarter_csv/extconf.rb
smarter_csv-1.10.3 ext/smarter_csv/extconf.rb
smarter_csv-1.10.2 ext/smarter_csv/extconf.rb
smarter_csv-1.11.0.pre2 ext/smarter_csv/extconf.rb
smarter_csv-1.11.0.pre1 ext/smarter_csv/extconf.rb
smarter_csv-1.10.1 ext/smarter_csv/extconf.rb
smarter_csv-1.10.0 ext/smarter_csv/extconf.rb
smarter_csv-1.9.3 ext/smarter_csv/extconf.rb
smarter_csv-1.9.2 ext/smarter_csv/extconf.rb
smarter_csv-1.9.2.pre01 ext/smarter_csv/extconf.rb