Don't set an architecture flag (-march=x86-64-v2) if one was set already.
-march=x86-64-v2
This is to fix an issue found by @ssnyder in ATEAM-905.