You could also just use CFLAGS/ CXXFLAGS with ="-march=native -O2 -pipe -fstack-protector-strong" and it will be even better than just x86-...