summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-02-18 17:20:38 +0000
committerabs <abs@pkgsrc.org>2005-02-18 17:20:38 +0000
commitade2b7b1e6836447881aeb99d99cca0284a9ed1f (patch)
treef0823a2e7add35eef1e95292e64263cf45776611 /devel/cpuflags
parent93bb2691b72a22590b87bd5a0ad14d32f2e997aa (diff)
downloadpkgsrc-ade2b7b1e6836447881aeb99d99cca0284a9ed1f.tar.gz
update cpuflags to 0.82
firefox-gtk2 has severe issues (radio buttons on the download preferences are missing, and extensions break) if compiled with -ffast-math. Oh my aching head.
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rw-r--r--devel/cpuflags/files/optimize_gcc.mk8
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