diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2017-12-06 16:57:55 +0000 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2017-12-07 11:31:50 +0000 |
commit | 5b8766bb92debfa7b2f45a4a6d683b4227360d66 (patch) | |
tree | 7e3c09a1b912712c71686c5df6ef1a446497ee78 /BaseTools/Source/Python | |
parent | d1632f694be027dee87dd18fa8172d674221face (diff) | |
download | edk2-5b8766bb92debfa7b2f45a4a6d683b4227360d66.tar.gz edk2-5b8766bb92debfa7b2f45a4a6d683b4227360d66.tar.bz2 edk2-5b8766bb92debfa7b2f45a4a6d683b4227360d66.zip |
MdePkg: Arm/AArch64 - filter #pragma pack() when __ASSEMBLER__
clang, when used as a preprocessor for dtc, does not discard #pragma
statements although -x assembler-with-cpp is specified. This causes dtc
to barf at a #pragma pack() statement that is already filtered out for
__GNUC__. So add a check to also filter this out if __ASSEMBLER__.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions