summaryrefslogtreecommitdiff
path: root/src/mem/gems_common/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/gems_common/SConscript')
-rw-r--r--src/mem/gems_common/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/gems_common/SConscript b/src/mem/gems_common/SConscript
index bd29a3737..69e7f88a3 100644
--- a/src/mem/gems_common/SConscript
+++ b/src/mem/gems_common/SConscript
@@ -30,6 +30,9 @@
Import('*')
+if not env['RUBY']:
+ Return()
+
#benv['LEXCOM'] = "$LEX $LEXFLAGS -o$TARGET $SOURCES"
benv = env.Clone()
benv.Append(YACCFLAGS=["-pat"])