[BOOTMGFW] Explicitly disable NX compatibility

CORE-17423
This commit is contained in:
Jérôme Gardou 2021-02-03 17:16:05 +01:00 committed by Jérôme Gardou
parent 2306c83e5c
commit 0d811c2d1c

View file

@ -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")