aboutsummaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2017-05-21 23:03:11 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2017-05-21 23:03:11 -0700
commit7aa184bb42bf8868bb0c61bd351480e332d3a2a8 (patch)
tree1d54b563b54a98de81560924577f1bb4616148c6 /Rakefile
parentbce8712f801c47e6711d865d1807b3862158af62 (diff)
specify mingw g++ compiler for ruby windows artifact build
Diffstat (limited to 'Rakefile')
-rwxr-xr-xRakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 7f8d3a2f4a..66870581dd 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