the flag "-fpie" is passed for all builds with a GCC family toolchain, including CLANGPDB, but CLANGPDB does not support this flag, it will report "clang: error: unsupported option '-fpie' for target 'x86_64-unknown-windows-gnu'". So we add the CLANGPDB option "-fno-pie" later to overwrite it.
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> Cc: Sami Mujawar <sami.muja...@arm.com> Cc: Jiewen Yao <jiewen....@intel.com> Cc: Supreeth Venkatesh <supreeth.venkat...@arm.com> Cc: Vitaly Cheptsov <vit9...@protonmail.com> Cc: Marvin Häuser <mhaeu...@posteo.de> Cc: Steven Shi <steven....@intel.com> Signed-off-by: Jiyang Yang <jiyangx.y...@intel.com> Jiyang Yang (1): StandaloneMmPkg/StandaloneMmCoreEntryPoint: To support CLANGPDB build StandaloneMmPkg/Core/StandaloneMmCore.inf | 2 ++ StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 1 + 2 files changed, 3 insertions(+) -- 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#81932): https://edk2.groups.io/g/devel/message/81932 Mute This Topic: https://groups.io/mt/86305053/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-