summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--appveyor_config.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/appveyor_config.rb b/appveyor_config.rb
index 5957fda52..25745daa8 100644
--- a/appveyor_config.rb
+++ b/appveyor_config.rb
@@ -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|