[PATCH v2 0/1] StandaloneMmPkg: Support CLANGPDB builds


Marvin Häuser
 

V2: Update patch to account for ARM support

Currently, the flag "-fpie" is passed for all builds with a GCC
family toolchain, including CLANGPDB. CLANGPDB however does not
support this flag as it generates PE/COFF files directly.

As the flag is mostly required for ARM-specific self-relocation, drop
it for other architectures and document the limitation to enable e.g.
X64 CLANGPDB builds of StandaloneMmCore.

Marvin Häuser (1):
StandaloneMmPkg: Support CLANGPDB builds

StandaloneMmPkg/Core/StandaloneMmCore.inf | 12 ++++++++++--
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 9 ++++++++-
2 files changed, 18 insertions(+), 3 deletions(-)

--
2.31.1