diff options
Diffstat (limited to 'devel/cpuflags')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rw-r--r-- | devel/cpuflags/files/optimize_gcc.mk | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index fb6a935daba..cf0972e9ae3 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.84 2005/01/29 14:58:39 abs Exp $ +# $NetBSD: Makefile,v 1.85 2005/02/18 17:20:38 abs Exp $ # -DISTNAME= cpuflags-0.81 +DISTNAME= cpuflags-0.82 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/optimize_gcc.mk b/devel/cpuflags/files/optimize_gcc.mk index 0946a989426..7857e62e5bd 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.18 2005/01/29 14:58:40 abs Exp $ +# $Id: optimize_gcc.mk,v 1.19 2005/02/18 17:20:38 abs Exp $ # This file is 'experimental' - which is doublespeak for unspeakably # ugly, and probably quite broken by design. @@ -33,7 +33,7 @@ PKG_EXCLUDE_OMIT_FRAME_POINTER+=firefox firefox-gtk2 galeon galeon-devel PKG_EXCLUDE_OMIT_FRAME_POINTER+=lua lua4 mozilla mozilla-gtk2 PKG_EXCLUDE_OMIT_FRAME_POINTER+=thunderbird thunderbird-gtk2 PKG_EXCLUDE_INLINE_FUNCTIONS+=qemu userppp -PKG_EXCLUDE_INLINE_FUNCTIONS+=firefox firefox-gtk2 # v1.0, NetBSD i386/2.0 +PKG_EXCLUDE_FAST_MATH+=firefox firefox-gtk2 # v1.0, NetBSD i386/2.0 .if !defined(USE_GCC3) PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 koffice .endif @@ -46,6 +46,10 @@ COPT_FLAGS:= ${COPT_FLAGS:S/-fomit-frame-pointer//} COPT_FLAGS:= ${COPT_FLAGS:S/-finline-functions//} .endif +.if !empty(PKG_EXCLUDE_FAST_MATH:M${PKGBASE}) +COPT_FLAGS:= ${COPT_FLAGS:S/-ffast-math//} +.endif + CFLAGS+=${COPT_FLAGS} CXXFLAGS+=${COPT_FLAGS} MAKE_FLAGS+=CCOPTIONS="${COPT_FLAGS}" # Override CCOPTIONS for imake |