diff --git a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf index c59bb4b810..6fdbe1db34 100644 --- a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf +++ b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf @@ -44,3 +44,10 @@ [Depex] TRUE + +[BuildOptions] +# It is required for IA32-version consumer of CryptoLib to add the +# following build options to avoid the build issues. + MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256 + INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256 + \ No newline at end of file