avr-gcc

I am trying to install avr-gcc using
brew install avr-gcc
and for some reason I am getting this error:
avr-gcc@9: The x86_64 architecture is required for this software.
I am on MacBook Pro with M1 chip and I haven't come across this error on my previous laptop.
Is there a chance to install The x86_64 architecture? Or I can install avr-gcc some other way?
avr-gcc
 
 
Q