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

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


Branch: CURRENT, 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


Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2019-11-03 11:39:32 by Roland Illig | Files touched by this commit (274)
Log message:
devel: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2018-09-27 21:14:44 by Tobias Nygren | Files touched by this commit (1)
Log message:
cpuflags: SUBSTing in pre-configure does nothing if NO_CONFIGURE=yes
   2018-07-04 15:40:45 by Jonathan Perkin | Files touched by this commit (423)
Log message:
*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
   2017-09-26 12:27:23 by Thomas Klausner | Files touched by this commit (1452)
Log message:
*: remove qt3 and the packages using it, including KDE3

Announced in https://mail-index.netbsd.org/pkgsrc-us … 25556.html
   2016-01-28 20:11:30 by David Brownlee | Files touched by this commit (3) | Package updated
Log message:
Update cpuflags to 1.43
Handle '(' & ')' in cpuctl output
Note that for modern gcc -march=native may be a better alternative
   2015-01-04 05:48:10 by David A. Holland | Files touched by this commit (1)
Log message:
document ONLY_FOR_PLATFORM
   2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2010-12-06 11:56:32 by David Brownlee | Files touched by this commit (1)
Log message:
fix PLIST for last