1256bede19
Add optimisations for specific Athlon models (recht@) Avoid setting flags if DBG is set to -Os (to reduce size impact when building contents of distrib on at least 1.6.x i386)
25 lines
696 B
Makefile
25 lines
696 B
Makefile
# $NetBSD: Makefile,v 1.60 2003/10/02 16:10:00 abs Exp $
|
|
#
|
|
|
|
DISTNAME= cpuflags-0.57
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
COMMENT= Determine compiler flags to best target current cpu
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-* SunOS-*-*
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= yes
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/cpuflags.${OPSYS} ${PREFIX}/bin/cpuflags
|
|
${INSTALL_DATA} ${FILESDIR}/cpuflags.mk ${PREFIX}/share/mk/cpuflags.mk
|
|
${INSTALL_DATA} ${FILESDIR}/optimize_gcc.mk ${PREFIX}/share/mk/optimize_gcc.mk
|
|
${INSTALL_MAN} ${FILESDIR}/cpuflags.1 ${PREFIX}/man/man1/cpuflags.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|