Sha256: 150a88f3bc4b9a2c175c20ff28a4f112bd0aa737a27defb0f730d03b0d167433
Contents?: true
Size: 413 Bytes
Versions: 11
Compression:
Stored size: 413 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", "$(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
11 entries across 11 versions & 1 rubygems