Sha256: ee3c85945f06016dedbcef8a8b532f0415e25716bd78ac18bb2a40d84fecc832
Contents?: true
Size: 779 Bytes
Versions: 4
Compression:
Stored size: 779 Bytes
Contents
# frozen_string_literal: true require("mkmf") if RUBY_ENGINE == "ruby" $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 $CFLAGS << " -Wno-compound-token-split-by-macro" end create_makefile("bootsnap/bootsnap") else File.write("Makefile", dummy_makefile($srcdir).join) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bootsnap-1.16.0 | ext/bootsnap/extconf.rb |
bootsnap-1.15.0 | ext/bootsnap/extconf.rb |
bootsnap-1.14.0 | ext/bootsnap/extconf.rb |
bootsnap-1.13.0 | ext/bootsnap/extconf.rb |