DMD release compiler flags when building with LDC

Daniel Kozak kozzi11 at gmail.com
Wed Oct 23 11:19:41 UTC 2019


On Wed, Oct 23, 2019 at 1:05 PM Per Nordlöw via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
>
> On Wednesday, 23 October 2019 at 10:34:17 UTC, Daniel Kozak wrote:
> >> This works for me.
> > https://bugs.archlinux.org/task/63569
>
> Shouldn't
>
>   +ifeq ($(HOST_DMD_KIND), ldc)
>
> be
>
>   +ifeq ($(HOST_DMD_KIND), ldc2)
>
> ?
>

No,

if you look to posix.mak you will see this:

https://github.com/dlang/dmd/blob/v2.088.1/src/posix.mak#L167

ifneq (,$(findstring ldc,$(HOST_DMD_VERSION))$(findstring
LDC,$(HOST_DMD_VERSION)))
HOST_DMD_KIND=ldc
HOST_DMD_VERNUM=2
endif



More information about the Digitalmars-d mailing list