From 0d811c2d1cfa8995b7a66225061ec8238392df4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Wed, 3 Feb 2021 17:16:05 +0100 Subject: [PATCH] [BOOTMGFW] Explicitly disable NX compatibility CORE-17423 --- boot/environ/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/environ/CMakeLists.txt b/boot/environ/CMakeLists.txt index 9c4d5dcd96f..bc4e21ee4a0 100644 --- a/boot/environ/CMakeLists.txt +++ b/boot/environ/CMakeLists.txt @@ -85,7 +85,7 @@ if(MSVC) if(ARCH STREQUAL "arm") add_target_link_flags(bootmgfw "/ignore:4078 /ignore:4254 /DRIVER") else() - add_target_link_flags(bootmgfw "/ignore:4078 /ignore:4254 /DRIVER /DYNAMICBASE:NO /FIXED") + add_target_link_flags(bootmgfw "/ignore:4078 /ignore:4254 /DRIVER /DYNAMICBASE:NO /NXCOMPAT:NO /FIXED") endif() else() add_target_link_flags(bootmgfw "-Wl,--strip-all,--exclude-all-symbols")