summarylogtreecommitdiffstats
path: root/ldc2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ldc2.conf')
-rwxr-xr-xldc2.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/ldc2.conf b/ldc2.conf
new file mode 100755
index 000000000000..e8cf1ebafe93
--- /dev/null
+++ b/ldc2.conf
@@ -0,0 +1,18 @@
+// See comments in driver/config.d in ldc source tree for grammar description of
+// this config file.
+
+// The default group is required
+default:
+{
+ // default switches injected before all explicit command-line switches
+ switches = [
+ "-I/usr/include/dlang/ldc/ldc",
+ "-I/usr/include/dlang/ldc",
+ "-defaultlib=phobos2-ldc,druntime-ldc",
+ "-debuglib=phobos2-ldc-debug,druntime-ldc-debug"
+ ];
+ // default switches appended after all explicit command-line switches
+ post-switches = [
+ "-L-L/usr/lib",
+ ];
+};