Created
December 11, 2009 03:59
-
-
Save godfat/253971 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 10b0c3e55b93eced792af87abfeef3aba2039134 Mon Sep 17 00:00:00 2001 | |
From: Lin Jen-Shin <[email protected]> | |
Date: Fri, 11 Dec 2009 11:49:08 +0800 | |
Subject: [PATCH] [rakelib/vm.rake] ruby 1.9 compatibility, due to Array#to_s semantic change | |
--- | |
rakelib/vm.rake | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/rakelib/vm.rake b/rakelib/vm.rake | |
index ded34e9..f466aae 100644 | |
--- a/rakelib/vm.rake | |
+++ b/rakelib/vm.rake | |
@@ -256,7 +256,7 @@ def ld(t) | |
sh "llc -filetype=asm -f -o vm/objs.s vm/objs.bc" | |
sh "rm vm/objs.bc" | |
flags = INCLUDES + FLAGS | |
- sh "gcc #{flags} -c -o vm/objs.o vm/objs.s" | |
+ sh "gcc #{flags.join} -c -o vm/objs.o vm/objs.s" | |
sh "rm vm/objs.s" | |
o = (["vm/objs.o"] + t.prerequisites.find_all { |f| f =~ /a$/ }).join(' ') | |
-- | |
1.6.5.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment