CLI interface to medialist (fossil mirror)
修訂 | 6f06e90fbd98f26dc6a07bacceff476e65f6cecb (tree) |
---|---|
時間 | 2021-07-28 11:26:22 |
作者 | stigma@disroot.org <stigma@disr...> |
Commiter | stigma@disroot.org |
update Makefile and README to reflect GDC change
since the xdg.concat function now works with GDC, we don't need
the special comments.
FossilOrigin-Name: 26f828eaf60dcd40a5cd063e653eb7a77a152542c5fc998d7d70e6e2f1d575f3
@@ -1,6 +1,3 @@ | ||
1 | -# gdc doesn't have some of the C library functions marked as @nogc which | |
2 | -# currently breaks xdg.d | |
3 | -# DC ?= gdc | |
4 | 1 | DC ?= dmd |
5 | 2 | __NAME__ := medialist-cli |
6 | 3 |
@@ -9,19 +9,17 @@ Building | ||
9 | 9 | |
10 | 10 | To build medialist-cli: |
11 | 11 | |
12 | - * A D compiler (dmd, ldc2)[0] | |
12 | + * A D compiler (dmd, gdc, ldc2) | |
13 | 13 | * Make |
14 | 14 | |
15 | 15 | Then, in the project root directory, run `make`. By default it will use dmd, |
16 | -so to build with ldc2 run the following: DC=ldc2 make | |
16 | +so to build with a different compiler, set the DC environment variable: | |
17 | 17 | |
18 | -You can also install medialist-cli by running `make install` as root. This | |
19 | -will build medialist-cli if needed. | |
18 | + DC=gdc make | |
20 | 19 | |
21 | -[0]: | |
22 | -GDC is currently unsupported since the druntime version that it uses doesn't | |
23 | -mark core.stdc.stdarg as @nogc (used for varadic args). A temporary fix could | |
24 | -be to enable GC for the "GNU" version. | |
20 | +Additional compilation flags can be set using the DFLAGS evnironment variable. | |
21 | + | |
22 | +Finally, you can also install medialist-cli by running `make install` as root. | |
25 | 23 | |
26 | 24 | |
27 | 25 | Usage |