summarylogtreecommitdiffstats
path: root/ldc2.conf
diff options
context:
space:
mode:
authorVladimir Panteleev2017-12-12 00:48:50 +0000
committerVladimir Panteleev2017-12-12 01:00:00 +0000
commit9308f0f38f968f994026d909243cce4d406e0977 (patch)
treed34712f4f9808630098b9f27f756c76fa2a8a3c8 /ldc2.conf
parent2abad9d36683158a906e70b45324131a05ddd5fd (diff)
downloadaur-9308f0f38f968f994026d909243cce4d406e0977.tar.gz
Update against community ldc package
Diffstat (limited to 'ldc2.conf')
-rw-r--r--ldc2.conf17
1 files changed, 9 insertions, 8 deletions
diff --git a/ldc2.conf b/ldc2.conf
index efbb7df7818e..c97cc4783b21 100644
--- a/ldc2.conf
+++ b/ldc2.conf
@@ -1,18 +1,19 @@
-// This configuration file uses libconfig.
-// See http://www.hyperrealm.com/libconfig/ for syntax details.
+// See comments in driver/config.d in ldc source tree for grammar description of
+// this config file.
// The default group is required
default:
{
- // 'switches' holds array of string that are appends to the command line
- // arguments before they are parsed.
+ // default switches injected before all explicit command-line switches
switches = [
"-I/usr/include/dlang/ldc-git/ldc",
"-I/usr/include/dlang/ldc-git",
- "-L-L/usr/lib",
- "-L-L/usr/lib32",
"-L--no-warn-search-mismatch",
- "-defaultlib=lphobos2-git,ldruntime-git",
- "-debuglib=lphobos2-git-debug,ldruntime-git-debug"
+ "-defaultlib=phobos2-ldc-git,druntime-ldc-git",
+ "-debuglib=phobos2-ldc-git-debug,druntime-ldc-git-debug"
+ ];
+ // default switches appended after all explicit command-line switches
+ post-switches = [
+ "-L-L/usr/lib",
];
};