public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/1] StandaloneMmPkg: To support CLANGPDB build
@ 2021-10-14  3:12 jiyangx.yang
  2021-10-14  3:12 ` [PATCH v1 1/1] " Jiyang Yang
  0 siblings, 1 reply; 8+ messages in thread
From: jiyangx.yang @ 2021-10-14  3:12 UTC (permalink / raw)
  To: devel
  Cc: Jiyang Yang, Ard Biesheuvel, Sami Mujawar, Jiewen Yao,
	Supreeth Venkatesh, Vitaly Cheptsov, Marvin Häuser,
	Steven Shi

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-14 15:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-14  3:12 [PATCH v1 0/1] StandaloneMmPkg: To support CLANGPDB build jiyangx.yang
2021-10-14  3:12 ` [PATCH v1 1/1] " Jiyang Yang
2021-10-14  8:05   ` Marvin Häuser
2021-10-14  9:02     ` [edk2-devel] " Steven Shi
2021-10-14  9:08       ` Marvin Häuser
2021-10-14  9:09         ` Ard Biesheuvel
2021-10-14  9:13           ` Marvin Häuser
2021-10-14 13:14         ` Steven Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox