From 7aa184bb42bf8868bb0c61bd351480e332d3a2a8 Mon Sep 17 00:00:00 2001 From: Alexander Polcyn Date: Sun, 21 May 2017 23:03:11 -0700 Subject: [PATCH] specify mingw g++ compiler for ruby windows artifact build --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 7f8d3a2f4ac..66870581dd3 100755 --- a/Rakefile +++ b/Rakefile @@ -93,6 +93,7 @@ task 'dlls' do [ w64, w32 ].each do |opt| env_comp = "CC=#{opt[:cross]}-gcc " + env_comp += "CXX=#{opt[:cross]}-g++ " 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]}" end