Modified: MacRuby/trunk/bin/rubyc (2803 => 2804)
--- MacRuby/trunk/bin/rubyc 2009-10-15 00:51:44 UTC (rev 2803)
+++ MacRuby/trunk/bin/rubyc 2009-10-15 00:58:21 UTC (rev 2804)
@@ -111,7 +111,7 @@
# Compile the bitcode as assembly.
asm = gen_tmpfile(base + arch, 's')
- execute("#{@llc} -f #{bc} -o=#{asm} -march=#{llc_arch(arch)} -enable-eh")
+ execute("#{@llc} -f #{bc} -o=#{asm} -march=#{llc_arch(arch)} -relocation-model=pic -enable-eh")
# Compile the assembly.
tmp_obj = gen_tmpfile(base + arch, 'o')