krb5 commit: Use control flow guard flag in Windows builds

[email protected] Mon, 13 Mar 2023 11:06:16 -0400 (EDT)
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/d56467aa23276e6d7335dd3df338d16fc16c2d4e
commit d56467aa23276e6d7335dd3df338d16fc16c2d4e
Author: gakamath <[email protected]>
Date:   Tue Feb 28 21:25:12 2023 +0530

    Use control flow guard flag in Windows builds
    
    ticket: 9088 (new)

 src/config/win-pre.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/win-pre.in b/src/config/win-pre.in
index f02065e0a..8ac5fa2f8 100644
--- a/src/config/win-pre.in
+++ b/src/config/win-pre.in
@@ -131,7 +131,7 @@ ENTRYPOINT=_DllMainCRTStartup
 ENTRYPOINT=_DllMainCRTStartup@12
 !endif
 CCLINKOPTION=
-DEBUGOPT=/Zi
+DEBUGOPT=/guard:cf /Zi
 
 #if the compiler is vstudio 8, generate manifest
 !if exists("$(VCINSTALLDIR)\..\..\MICROSOFT VISUAL STUDIO 8")