mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Respect CFLAGS, CXXFLAGS, and LDFLAGS env vars in appveyor_config.rb
[skip travis]
This commit is contained in:
+3
-2
@@ -1,6 +1,7 @@
|
||||
def setup_option(conf)
|
||||
conf.compilers.each{|c| c.flags[0].delete("/Zi")}
|
||||
conf.linker.flags << "/DEBUG:NONE"
|
||||
conf.cc.flags[0].delete("/Zi") unless ENV['CFLAGS']
|
||||
conf.cxx.flags[0].delete("/Zi") unless ENV['CFLAGS'] || ENV['CXXFLAGS']
|
||||
conf.linker.flags << "/DEBUG:NONE" unless ENV['LDFLAGS']
|
||||
end
|
||||
|
||||
MRuby::Build.new('full-debug') do |conf|
|
||||
|
||||
Reference in New Issue
Block a user