From 3476cdae7722cb0defee1de63a61d56fc7390c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Tue, 2 Feb 2021 16:04:13 +0100 Subject: [PATCH] [BOOTMGFW] Explicitly disable dynamic base 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 05aa5b81ef9..9c4d5dcd96f 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 /FIXED") + add_target_link_flags(bootmgfw "/ignore:4078 /ignore:4254 /DRIVER /DYNAMICBASE:NO /FIXED") endif() else() add_target_link_flags(bootmgfw "-Wl,--strip-all,--exclude-all-symbols")