krb5 commit: Use control flow guard flag in Windows builds

ghudson at mit.edu ghudson at mit.edu
Mon Mar 13 11:06:16 EDT 2023


https://github.com/krb5/krb5/commit/d56467aa23276e6d7335dd3df338d16fc16c2d4e
commit d56467aa23276e6d7335dd3df338d16fc16c2d4e
Author: gakamath <Ganesh.Kamath at amd.com>
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 at 12
 !endif
 CCLINKOPTION=
-DEBUGOPT=/Zi
+DEBUGOPT=/guard:cf /Zi
 
 #if the compiler is vstudio 8, generate manifest
 !if exists("$(VCINSTALLDIR)\..\..\MICROSOFT VISUAL STUDIO 8")


More information about the cvs-krb5 mailing list