4

Disable incremental linking to reduce build size on Windows by Smjert · Pull Req...

 2 years ago
source link: https://github.com/osquery/osquery/pull/6898
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Member

Smjert commented on Jan 12, 2021

A previous PR removed the unused /LTCG linker flag,
which was also disabling incremental linking,
permitting the build to stay under a certain size.
Now that the incremental linking is enabled again,
the size of a full build with RelWithDebInfo increased by 29GB,
for a total of almost 50GB.

This is too big, so disable incremental linking to reduce build size.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK