blob: b7eb7febf1ab136ef16bb8e59e37a6ef7b9c9833 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// 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 = [
// ldc2 is installed in $pkgdir/usr/bin/ldc2
// Imports are in $pkgdir/usr/include/dlang/ldc-1.8.0/
"-I%%ldcbinarypath%%/../include/dlang/ldc-1.8.0/ldc/",
"-I%%ldcbinarypath%%/../include/dlang/ldc-1.8.0/",
"-defaultlib=phobos2-ldc,druntime-ldc"
];
// default switches appended after all explicit command-line switches
post-switches = [
// libs are installed to $pkgdir/usr/lib/
// `libexecinfo` includes `backtrace`, which is used by druntime,
// and is part of glibc
"-L-L%%ldcbinarypath%%/../lib",
"-L--no-warn-search-mismatch",
"-L-lexecinfo"
];
};
|