devel/cpuflags 1.43 NetBSD
Determine compiler flags to best target current cpu
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- 2-clause-bsd
- Categories
- devel, sysutils
- Package size
- 11.4 KiB, 31.1 KiB installed
Description
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
Install
Binary package:
pkgin install cpuflags
From pkgsrc:
cd /usr/pkgsrc/devel/cpuflags && make install clean
Dependencies
No port depends on this one.