gEfiEventExitBootServicesGuid\r
gEfiEventReadyToBootGuid\r
\r
+#\r
+# This configuration fails for CLANGPDB, which does not support PIE in the GCC\r
+# sense. Such however is required for ARM family StandaloneMmCore\r
+# self-relocation, and thus the CLANGPDB toolchain is unsupported for ARM and\r
+# AARCH64 for this module.\r
+#\r
[BuildOptions]\r
- GCC:*_*_*_CC_FLAGS = -fpie\r
- GCC:*_*_*_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie\r
+ GCC:*_*_ARM_CC_FLAGS = -fpie\r
+ GCC:*_*_ARM_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie\r
+ GCC:*_*_AARCH64_CC_FLAGS = -fpie\r
+ GCC:*_*_AARCH64_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie\r