How to set linker flags (/LTCG)?

So as I found out all you need to do is to enable the following flag in the .Build.cs file (within the constructor):

BuildConfiguration.bAllowLTCG = true;

This enables the /LTCG flag for Shipping builds.
Cheers!