• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

CLI interface to medialist (fossil mirror)


Commit MetaInfo

修订版6f06e90fbd98f26dc6a07bacceff476e65f6cecb (tree)
时间2021-07-28 11:26:22
作者stigma@disroot.org <stigma@disr...>
Commiterstigma@disroot.org

Log Message

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

更改概述

差异

--- a/Makefile
+++ b/Makefile
@@ -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
41 DC ?= dmd
52 __NAME__ := medialist-cli
63
--- a/README
+++ b/README
@@ -9,19 +9,17 @@ Building
99
1010 To build medialist-cli:
1111
12- * A D compiler (dmd, ldc2)[0]
12+ * A D compiler (dmd, gdc, ldc2)
1313 * Make
1414
1515 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:
1717
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
2019
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.
2523
2624
2725 Usage