summary refs log tree commit diff stats
path: root/rod/nimrod.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'rod/nimrod.cfg')
-rw-r--r--rod/nimrod.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/rod/nimrod.cfg b/rod/nimrod.cfg
new file mode 100644
index 000000000..51a9dc52d
--- /dev/null
+++ b/rod/nimrod.cfg
@@ -0,0 +1,11 @@
+# Special configuration file for the Nimrod project
+
+--hint[XDeclaredButNotUsed]=off
+
+@if llvm_gcc or gcc:
+  # GCC, LLVM and Visual C++ have a problem to optimize some modules.
+  # This is really strange.
+  cgen.speed = "-O1 -fno-strict-aliasing"
+@elif vcc:
+  cgen.speed = ""
+@end