Skip to content

Build ANCM with /LTCG? #56408

Open
Open
@martincostello

Description

@martincostello

While building the solution locally, I noticed the following notice was printed a few times when ANCM is compiled:

libnethost.lib(trace.cpp.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance

Example

I don't really know where the right place to add such a change would be (or indeed even if it's appropriate), but I couldn't find any other note of this anywhere so thought I'd raise an issue for it as seems on face value it would be a useful change if it made the build faster, especially if it's a one-liner to add into a project file somewhere to add the flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-iisIncludes: IIS, ANCM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions