[edk2-devel] [PATCH v1 0/1] StandaloneMmPkg: To support CLANGPDB build

Jiyang Yang posted 1 patch 1 week, 1 day ago
Failed in applying to current master (apply log)
StandaloneMmPkg/Core/StandaloneMmCore.inf                                         | 2 ++
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 1 +
2 files changed, 3 insertions(+)

[edk2-devel] [PATCH v1 0/1] StandaloneMmPkg: To support CLANGPDB build

Posted by Jiyang Yang 1 week, 1 day ago
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+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Cc: Vitaly Cheptsov <vit9696@protonmail.com>
Cc: Marvin Häuser <mhaeuser@posteo.de>
Cc: Steven Shi <steven.shi@intel.com>
Signed-off-by: Jiyang Yang <jiyangx.yang@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-