Finding the machine CPU arch
Vincent Habchi
vince at macports.org
Wed Mar 6 06:59:57 PST 2013
Le 6 mars 2013 à 15:52, Joshua Root <jmr at macports.org> a écrit :
> Well, build_arch tells you what kind of processor the user wants you to
> build for. In general you can't assume that the CPU you're building on
> is the one that you will run on.
I agree; but I want to apply the ‘-march=native’ flag when ${build_arch} and the actual arch match, so as to provide more optimization.
Vincent
More information about the macports-dev
mailing list