The options '-mcpu' and '-mmcu' has the same functionality except
'-mmcu' is used only for target AVR and MSP430. I think newer AVR
projects should use clang common style options instead of older
avr-gcc style.
Currently we keep '-mmcu' for compatibility with avr-gcc,
and '-mcpu' is superior to '-mmcu'.
It looks to me that -mcpu will always take precedence over -mmcu with this code even if mmcu comes later in the command line. Wouldn't it make more sense to treat them as aliases?