Browse files

Force spidermonkey to use "gcc" when building

  • Loading branch information...
1 parent 983d124 commit f64e36b35c07e142d3904e0d34b8c4f96a0a989e @jhs jhs committed Nov 8, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 tasks/tracemonkey.rake
View
4 tasks/tracemonkey.rake
@@ -37,8 +37,10 @@ namespace :tracemonkey do
].flatten
end
+ cmd = ["CC=gcc", "CXX=g++", cmd].flatten if DISTRO[0] == :osx
+
show_file('config.log') do
- sh(cmd.join(' '))
+ sh(["env", cmd].flatten.join(' '))
end
gmake

0 comments on commit f64e36b

Please sign in to comment.