ARM arch in Build system help

why not simply using $ARCH ?
I get a similar problem with GO, but do not remember how I fixed it...
I will try to find out in my notes