summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-10-26 21:51:38 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-26 20:09:51 +0000
commit115cebbe4d7541c795b4f9baefc38f9a1733b7f6 (patch)
tree12d54b99c26a3bdc3f7a55438da6580c985ba3a6 /ArmVirtPkg
parentb6efc505e4d6eb2055a39afd0a1ee67846a1e5f9 (diff)
downloadedk2-115cebbe4d7541c795b4f9baefc38f9a1733b7f6.tar.gz
edk2-115cebbe4d7541c795b4f9baefc38f9a1733b7f6.tar.bz2
edk2-115cebbe4d7541c795b4f9baefc38f9a1733b7f6.zip
ArmVirtPkg/ArmVirtQemu: Clear XIP flags instead of overriding them
Clang does not support undoing the effects of -mstrict-align by passing the -mno-strict-align counterpart, so appending the latter to the compiler's XIPFLAGS does not work. Instead, clear the flags entirely. This also removes -mgeneral-regs-only, but this is fine - we can tolerate SIMD codegen in PEIMs or BASE libraries as they run with the MMU and caches enabled. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'ArmVirtPkg')
-rw-r--r--ArmVirtPkg/ArmVirtQemu.dsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index fbd9270db5..28a4453068 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -117,7 +117,7 @@
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
[BuildOptions]
- GCC:*_*_AARCH64_CC_XIPFLAGS = -mno-strict-align
+ GCC:*_*_AARCH64_CC_XIPFLAGS ==
!include NetworkPkg/NetworkBuildOptions.dsc.inc