summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2010-06-07 12:19:59 -0400
committerSteve Reinhardt <stever@gmail.com>2010-06-07 12:19:59 -0400
commit4977d8b58ffe72fe679767d44b166bf909fdc3c1 (patch)
tree598217132de5f76b75562d349a824b82b17c4d0f /src/mem/ruby
parent744b59d6de45d846871cd80338f0299bb0bb3b2a (diff)
downloadgem5-4977d8b58ffe72fe679767d44b166bf909fdc3c1.tar.xz
scons: make RUBY a regular (non-global) sticky var
and force it to True for builds that imply Ruby protocols (else unexpected things happen when testing these builds with RUBY=False).
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/SConsopts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mem/ruby/SConsopts b/src/mem/ruby/SConsopts
index 6c9343346..95ca71fdd 100644
--- a/src/mem/ruby/SConsopts
+++ b/src/mem/ruby/SConsopts
@@ -30,9 +30,6 @@
Import('*')
-if not main['RUBY']:
- Return()
-
sticky_vars.AddVariables(
BoolVariable('NO_VECTOR_BOUNDS_CHECKS', "Don't do bounds checks", True),
BoolVariable('RUBY_DEBUG', "Add debugging stuff to Ruby", False),