Use regexes to remove all instances of -march or -msse.