mirror of https://github.com/microsoft/clang.git
![]() Summary: The -mmcu option for GCC sets macros like __AVR_ATmega328P__ (with the trailing underscores), be sure to include these underscores for Clangs -mcpu option. See "AVR Built-in Macros" in https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html Reviewers: jroelofs, dylanmckay Reviewed By: jroelofs, dylanmckay Subscribers: efriedma, cfe-commits Differential Revision: https://reviews.llvm.org/D29817 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294869 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
atmega328p.c | ||
attiny104.c | ||
common.c |