this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Infer mruby CFLAGS from CMake

+6 -4
+2 -4
tic_mruby_build_config.rb
··· 18 18 19 19 # C compiler settings 20 20 conf.cc do |cc| 21 - cc.flags << '-fPIC' unless ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] 22 - cc.flags.delete '/MD' if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] 23 - cc.flags << '/MT' if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] 24 21 # cc.command = ENV['CC'] || 'gcc' 25 - # cc.flags = [ENV['CFLAGS'] || %w()] 22 + cc.flags = [ENV['CFLAGS'] || %w()] 23 + cc.flags << '-fPIC' unless ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] 26 24 # cc.include_paths = ["#{root}/include"] 27 25 # cc.defines = %w() 28 26 # cc.option_include_path = %q[-I"%s"]
+4
tic_mruby_wasm_build_config.rb
··· 12 12 13 13 # include the GEM box 14 14 conf.gembox File.expand_path('tic', File.dirname(__FILE__)) 15 + 16 + conf.cc do |cc| 17 + cc.flags = [ENV['CFLAGS'] || %w()] 18 + end 15 19 16 20 conf.enable_bintest 17 21 conf.enable_test