Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
enable Control Flow Guard, vs2015+: https://www.owasp.org/index.php/C…
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Sep 21, 2015
1 parent 247e0d7 commit 60100b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mkfiles.pl
Original file line number Diff line number Diff line change
Expand Up @@ -634,10 +634,11 @@ sub manpages {
"# C compilation flags\n".
"CFLAGS = /nologo /W3 /GS /Zi " .
"/D_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES=1 ".
"/D_CRT_SECURE_NO_WARNINGS=1 ".
"/D_CRT_SECURE_NO_WARNINGS=1 ".
"/d2guard4 ".
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
" /D_WINDOWS /D_WIN32_WINDOWS=0x500 /DWINVER=0x500\n".
"LFLAGS = /dynamicbase /nxcompat /debug\n".
"LFLAGS = /dynamicbase /nxcompat /debug /guard:cf\n".
"!if \"\$(DEBUG)\" == \"1\"\n".
"CFLAGS=\$(CFLAGS) /Od /DDEBUG /RTC1\n".
"!else\n".
Expand Down

0 comments on commit 60100b1

Please sign in to comment.