Sha256: 0e9cb1cc3fe07391f7e59fc04f0e580099b3bb6f754602c39afcc907dc210a3f
Contents?: true
Size: 697 Bytes
Versions: 9
Compression:
Stored size: 697 Bytes
Contents
# frozen_string_literal: true module Flags class << self def cflags debug_flags + optimization_flags end def debug_flags %w[-g3] end def optimization_flags if ENV["MRUBY_ENGINE_ENABLE_DEBUG"] %w[-O0] else %w[-O3] end end def library_paths # Necessary because of https://github.com/mruby/mruby/issues/4537 %w[/usr/local/lib /usr/lib] end def io_safe_defines %w[ _GNU_SOURCE MRB_ENABLE_DEBUG_HOOK MRB_INT64 MRB_UTF8_STRING MRB_WORD_BOXING YYDEBUG ] end def defines io_safe_defines + %w[MRB_DISABLE_STDIO] end end end
Version data entries
9 entries across 9 versions & 1 rubygems