diff --git a/AMBuildScript b/AMBuildScript index 0ade4c8..9f5ae7c 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -125,6 +125,7 @@ class MMS: elif self.vendor == 'msvc': self.compiler.AddToListVar('CFLAGS', '/Ot') self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:ICF') + self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:REF') #Debugging if AMBuild.options.debug == '1':