From 9b7a2b842c9f4e54b8dc1c82899e5a5520c53301 Mon Sep 17 00:00:00 2001 From: Marcel Cornu Date: Tue, 28 May 2024 15:41:59 +0100 Subject: [PATCH] enable CET on Windows Signed-off-by: Marcel Cornu --- Makefile.nmake | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.nmake b/Makefile.nmake index 8579d00..708fc08 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -276,7 +276,7 @@ CFLAGS=$(CFLAGS_DBG) CFLAGS=$(CFLAGS_REL) !endif -LINKFLAGS = -nologo -incremental:no -debug -guard:cf -DYNAMICBASE +LINKFLAGS = -nologo -incremental:no -debug -guard:cf -DYNAMICBASE -CETCOMPAT CFLAGS = $(CFLAGS) -nologo -D_USE_MATH_DEFINES -DNO_COMPAT_ISAL_CRYPTO_API_2_24 $(FEAT_FLAGS) $(INCLUDES) $(D) /W3 AFLAGS = -f win64 $(FEAT_FLAGS) $(INCLUDES) $(D) CC = cl diff --git a/README.md b/README.md index 29c1cd5..fcdc21d 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Building ISA-L x86_64: * Assembler: nasm v2.14.01 or later -* Compiler: gcc, clang, icc or VC compiler. +* Compiler: gcc, clang, icc or MSVC (Visual Studio 2019 or later). * Make: GNU 'make' or 'nmake' (Windows). * Optional: Building with autotools requires autoconf/automake packages.