diff options
author | abs <abs@pkgsrc.org> | 2002-08-05 13:17:11 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-08-05 13:17:11 +0000 |
commit | f157c0899222de59c5ae817fa325f5c52c716441 (patch) | |
tree | 609eaf9990d0968ed878271991ef888cecde6943 /devel | |
parent | 9343fbe7ab7351d3115665a71c3ad4c91e6854f4 (diff) | |
download | pkgsrc-f157c0899222de59c5ae817fa325f5c52c716441.tar.gz |
Updated cpuflags to 0.31:
Use ?= instead of += to set COPTS, and include DEFCOPTS to not drop
DEFCOPTS (usually -O2) from kernel compiles.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rw-r--r-- | devel/cpuflags/files/cpuflags.mk | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 86194722e10..7e9da97772d 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.30 2002/07/30 22:05:14 abs Exp $ +# $NetBSD: Makefile,v 1.31 2002/08/05 13:17:11 abs Exp $ # -DISTNAME= cpuflags-0.30 +DISTNAME= cpuflags-0.31 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/cpuflags.mk b/devel/cpuflags/files/cpuflags.mk index 706f4923747..495e2459afd 100644 --- a/devel/cpuflags/files/cpuflags.mk +++ b/devel/cpuflags/files/cpuflags.mk @@ -1,4 +1,4 @@ -# $Id: cpuflags.mk,v 1.6 2002/07/19 09:31:05 abs Exp $ +# $Id: cpuflags.mk,v 1.7 2002/08/05 13:17:11 abs Exp $ # Makefile include fragment to simplify use of cpuflags in pkgsrc # abs@netbsd.org - freely distributable, no warrenties, stick no bills. @@ -26,6 +26,7 @@ CXXFLAGS+=${CPU_FLAGS} MAKE_FLAGS+=CCOPTIONS="${CPU_FLAGS}" # Override CCOPTIONS for imake .else # Assume in base system, only COPTS -COPTS+=${CPU_FLAGS} +COPTS?=${CPU_FLAGS} ${DEFCOPTS} +# Include ${DEFCOPTS} and set ?= to allow overriding in kernel builds .endif |