diff options
author | abs <abs@pkgsrc.org> | 2003-07-20 14:21:52 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2003-07-20 14:21:52 +0000 |
commit | b8922fffe7762cb027820bd7999e2e5ada27cef4 (patch) | |
tree | 1c8be676652b3266df0537eb5b7c85abfa79068a /devel | |
parent | 3acd4bb7176f61e4147ac569c694bf07e0468bd5 (diff) | |
download | pkgsrc-b8922fffe7762cb027820bd7999e2e5ada27cef4.tar.gz |
Update cpuflags to 0.55
Exclude -finline-functions for userppp.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rw-r--r-- | devel/cpuflags/files/optimize_gcc.mk | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index f5734825f6c..3aaf15d99df 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.57 2003/07/17 21:29:58 grant Exp $ +# $NetBSD: Makefile,v 1.58 2003/07/20 14:21:52 abs Exp $ # -DISTNAME= cpuflags-0.54 +DISTNAME= cpuflags-0.55 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/optimize_gcc.mk b/devel/cpuflags/files/optimize_gcc.mk index 85a285e739c..d41abe5c020 100644 --- a/devel/cpuflags/files/optimize_gcc.mk +++ b/devel/cpuflags/files/optimize_gcc.mk @@ -1,4 +1,4 @@ -# $Id: optimize_gcc.mk,v 1.11 2003/07/10 11:52:03 abs Exp $ +# $Id: optimize_gcc.mk,v 1.12 2003/07/20 14:21:52 abs Exp $ # This file is 'experimental' - which is doublespeak for unspeakably # ugly, and probably quite broken by design. @@ -30,6 +30,7 @@ PKGBASE=${.CURDIR:C:.*/::} COPT_FLAGS+=-ffast-math -fomit-frame-pointer PKG_EXCLUDE_OMIT_FRAME_POINTER+=galeon lua4 mozilla phoenix +PKG_EXCLUDE_INLINE_FUNCTIONS+=userppp .if !defined(USE_GCC3) PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 .endif @@ -38,6 +39,10 @@ PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 COPT_FLAGS:= ${COPT_FLAGS:S/-fomit-frame-pointer//} .endif +.if !empty(PKG_EXCLUDE_INLINE_FUNCTIONS:M${PKGBASE}) +COPT_FLAGS:= ${COPT_FLAGS:S/-finline-functions//} +.endif + CFLAGS+=${COPT_FLAGS} CXXFLAGS+=${COPT_FLAGS} MAKE_FLAGS+=CCOPTIONS="${COPT_FLAGS}" # Override CCOPTIONS for imake |