diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-10-26 21:51:38 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-10-26 20:09:51 +0000 |
commit | 115cebbe4d7541c795b4f9baefc38f9a1733b7f6 (patch) | |
tree | 12d54b99c26a3bdc3f7a55438da6580c985ba3a6 | |
parent | b6efc505e4d6eb2055a39afd0a1ee67846a1e5f9 (diff) | |
download | edk2-115cebbe4d7541c795b4f9baefc38f9a1733b7f6.zip edk2-115cebbe4d7541c795b4f9baefc38f9a1733b7f6.tar.gz edk2-115cebbe4d7541c795b4f9baefc38f9a1733b7f6.tar.bz2 |
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>
-rw-r--r-- | ArmVirtPkg/ArmVirtQemu.dsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index fbd9270..28a4453 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
|