Skip to content

Commit 9b7a2b8

Browse files
mdcornupablodelara
authored andcommitted
enable CET on Windows
Signed-off-by: Marcel Cornu <[email protected]>
1 parent b00314a commit 9b7a2b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile.nmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ CFLAGS=$(CFLAGS_DBG)
276276
CFLAGS=$(CFLAGS_REL)
277277
!endif
278278

279-
LINKFLAGS = -nologo -incremental:no -debug -guard:cf -DYNAMICBASE
279+
LINKFLAGS = -nologo -incremental:no -debug -guard:cf -DYNAMICBASE -CETCOMPAT
280280
CFLAGS = $(CFLAGS) -nologo -D_USE_MATH_DEFINES -DNO_COMPAT_ISAL_CRYPTO_API_2_24 $(FEAT_FLAGS) $(INCLUDES) $(D) /W3
281281
AFLAGS = -f win64 $(FEAT_FLAGS) $(INCLUDES) $(D)
282282
CC = cl

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Building ISA-L
3838

3939
x86_64:
4040
* Assembler: nasm v2.14.01 or later
41-
* Compiler: gcc, clang, icc or VC compiler.
41+
* Compiler: gcc, clang, icc or MSVC (Visual Studio 2019 or later).
4242
* Make: GNU 'make' or 'nmake' (Windows).
4343
* Optional: Building with autotools requires autoconf/automake packages.
4444

0 commit comments

Comments
 (0)