summaryrefslogtreecommitdiff
path: root/src/mem/ruby/SConsopts
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/SConsopts')
-rw-r--r--src/mem/ruby/SConsopts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/SConsopts b/src/mem/ruby/SConsopts
index 7278558fc..a17b23237 100644
--- a/src/mem/ruby/SConsopts
+++ b/src/mem/ruby/SConsopts
@@ -30,6 +30,9 @@
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))