summary refs log tree commit diff stats
path: root/config/nim.cfg
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-05-29 12:01:35 +0200
committerAraq <rumpf_a@web.de>2019-05-29 12:01:43 +0200
commit13505c3be2aa8f41767958770bf7fe9b49d66914 (patch)
tree4f49d98bc66265b8cdd5b56653fe9f4f9add628e /config/nim.cfg
parent4f989b91623a0d733d01702d166bb664cd749d66 (diff)
downloadNim-13505c3be2aa8f41767958770bf7fe9b49d66914.tar.gz
added a -d:nimv019 define for compiling 0.19 code with 0.20
Diffstat (limited to 'config/nim.cfg')
-rw-r--r--config/nim.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index 40e0055de..7c2e0246d 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -273,3 +273,10 @@ tcc.options.always = "-w"
     gcc.cpp.linkerexe = "genode-arm-ld"
   @end
 @end
+
+@if nimv019:
+  --multimethods:on
+  --oldAst:on
+  --define:nimOldCaseObjects
+  --define:oldShiftRight
+@end