./devel/cpuflags, Determine compiler flags to best target current cpu

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2016Q3, Version: 1.43, Package name: cpuflags-1.43, Maintainer: abs

cpuflags returns the appropriate gcc flags to optimise compilation
for the current CPU.

With modern gcc it is probably best to just set -march=native for
at least x86, but cpuflags may still be useful for older and less
usual architectures


Version history: (Expand)