Merge pull request #11266 from apolcyn/specify_cxx_in_rakefile

Specify mingw for c++ in ruby windows artifacts
pull/9584/merge
apolcyn 8 years ago committed by GitHub
commit f499a1a4dd
  1. 1
      Rakefile

@ -93,6 +93,7 @@ task 'dlls' do
[ w64, w32 ].each do |opt| [ w64, w32 ].each do |opt|
env_comp = "CC=#{opt[:cross]}-gcc " env_comp = "CC=#{opt[:cross]}-gcc "
env_comp += "CXX=#{opt[:cross]}-g++ "
env_comp += "LD=#{opt[:cross]}-gcc " env_comp += "LD=#{opt[:cross]}-gcc "
docker_for_windows "gem update --system && #{env} #{env_comp} make -j #{out} && #{opt[:cross]}-strip -x -S #{out} && cp #{out} #{opt[:out]}" docker_for_windows "gem update --system && #{env} #{env_comp} make -j #{out} && #{opt[:cross]}-strip -x -S #{out} && cp #{out} #{opt[:out]}"
end end

Loading…
Cancel
Save