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/cpuflags/files/cpuflags.mk | |
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/cpuflags/files/cpuflags.mk')
-rw-r--r-- | devel/cpuflags/files/cpuflags.mk | 5 |
1 files changed, 3 insertions, 2 deletions
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 |