diff options
author | Ayke van Laethem <aykevanlaethem@gmail.com> | 2022-05-05 00:46:27 +0200 |
---|---|---|
committer | Ayke van Laethem <aykevanlaethem@gmail.com> | 2022-05-05 02:29:04 +0200 |
commit | 514371c3706d643b3556f1bef33be6902181d20f (patch) | |
tree | e6f0c8a5b8e31f60684ceffc8be70524ee828b81 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 60cb4896856d6e84a9e0914d1152a45489d173f8 (diff) | |
download | llvm-514371c3706d643b3556f1bef33be6902181d20f.zip llvm-514371c3706d643b3556f1bef33be6902181d20f.tar.gz llvm-514371c3706d643b3556f1bef33be6902181d20f.tar.bz2 |
[compiler-rt][AVR] Fix avr_SOURCES CMake variable
D123200 did not include the generic sources, which means that only the
AVR-specific sources were compiled. With this change, generic sources
are included as expected.
Tested with the following commands:
cmake -G Ninja -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=avr -DCOMPILER_RT_BAREMETAL_BUILD=1 -DCMAKE_C_COMPILER=clang-14 -DCMAKE_C_FLAGS="--target=avr -mmcu=avr5 -nostdlibinc -mdouble=64" ../path/to/builtins
ninja
Differential Revision: https://reviews.llvm.org/D124969
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions