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