instead of
CFLAGS="-O2 -Wall -march=native" ./configure <options>
use
CFLAGS="-O2 -Wall -march=native -fcommon" ./configure