Sha256: 5dd9116c869068f2bf2774016f0a9222c84c6f06e0e15d277034cfeee211a772

Contents?: true

Size: 607 Bytes

Versions: 15

Compression:

Stored size: 607 Bytes

Contents

# frozen_string_literal: true
require("mkmf")
$CFLAGS << ' -O3 '
$CFLAGS << ' -std=c99'

# ruby.h has some -Wpedantic fails in some cases
# (e.g. https://github.com/Shopify/bootsnap/issues/15)
unless ['0', '', nil].include?(ENV['BOOTSNAP_PEDANTIC'])
  $CFLAGS << ' -Wall'
  $CFLAGS << ' -Werror'
  $CFLAGS << ' -Wextra'
  $CFLAGS << ' -Wpedantic'

  $CFLAGS << ' -Wno-unused-parameter' # VALUE self has to be there but we don't care what it is.
  $CFLAGS << ' -Wno-keyword-macro' # hiding return
  $CFLAGS << ' -Wno-gcc-compat' # ruby.h 2.6.0 on macos 10.14, dunno
end

create_makefile("bootsnap/bootsnap")

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bootsnap-1.7.0 ext/bootsnap/extconf.rb
bootsnap-1.6.0 ext/bootsnap/extconf.rb
bootsnap-1.5.1-java ext/bootsnap/extconf.rb
bootsnap-1.5.0-java ext/bootsnap/extconf.rb
bootsnap-1.5.1 ext/bootsnap/extconf.rb
bootsnap-1.5.0 ext/bootsnap/extconf.rb
bootsnap-1.4.9-java ext/bootsnap/extconf.rb
bootsnap-1.4.9 ext/bootsnap/extconf.rb
bootsnap-1.4.9.rc1 ext/bootsnap/extconf.rb
bootsnap-1.4.8-java ext/bootsnap/extconf.rb
bootsnap-1.4.8 ext/bootsnap/extconf.rb
bootsnap-1.4.7 ext/bootsnap/extconf.rb
bootsnap-1.4.7-java ext/bootsnap/extconf.rb
bootsnap-1.4.6-java ext/bootsnap/extconf.rb
bootsnap-1.4.6 ext/bootsnap/extconf.rb