summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs>2002-08-05 13:17:11 +0000
committerabs <abs>2002-08-05 13:17:11 +0000
commitc82519d040f4d8692d51c16c577111cdc920f530 (patch)
tree609eaf9990d0968ed878271991ef888cecde6943 /devel/cpuflags
parent293ed3cea8c1d62d4f5c544f907370ff6173bec2 (diff)
downloadpkgsrc-c82519d040f4d8692d51c16c577111cdc920f530.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/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rw-r--r--devel/cpuflags/files/cpuflags.mk5
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