Don't store coffgrp LTCG/POGO debug data in VS2015+ release builds

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7002 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2018-06-03 23:53:51 +00:00
parent 460b3f59a9
commit fc8c70f856

View file

@ -59,6 +59,8 @@ if defenv['DEBUG']:
defenv.Append(CCFLAGS = ['/Fd${TARGET.dir}\\${TARGET.dir.file}.pdb'])
defenv.Append(LINKFLAGS = ['/debug'])
defenv['MSVCRT_FLAG'] = defenv['MSVCRT_FLAG'] + 'd'
elif msvs_version >= 14.0 or defenv['TARGET_ARCH'] == 'arm64':
defenv.Append(LINKFLAGS = ['/nocoffgrpinfo'])
### workarounds