GCC have -march= and -mtune option as described here. But it is not obvious which of the options to choose for x64 platform as generic one. Say, -mtune= have the generic value, but -march= for x64 have no.
I suspect that -march=nocona (as frequently seen everywhere) or even -march=i686 -m64 is the solution, but I'm not sure.