diff options
author | abs <abs> | 2003-07-08 16:52:40 +0000 |
---|---|---|
committer | abs <abs> | 2003-07-08 16:52:40 +0000 |
commit | 6f8754ced4ac2a61d3ba518e4c1d10b70f4d2ec0 (patch) | |
tree | 1512c4d2e83dc445dcebe6ecda5dec22d1227a27 /devel | |
parent | bed5311411e1a491942ed4c332960db682b251be (diff) | |
download | pkgsrc-6f8754ced4ac2a61d3ba518e4c1d10b70f4d2ec0.tar.gz |
Update cpuflags to 0.52:
On i386 try to S/-fomit-frame-pointer/-momit-leaf-frame-pointer/ for
package with problems with -fomit-frame-pointer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rw-r--r-- | devel/cpuflags/files/optimize_gcc.mk | 14 |
2 files changed, 13 insertions, 5 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index c3358b8efc7..ade3426e853 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.53 2003/06/17 15:04:49 abs Exp $ +# $NetBSD: Makefile,v 1.54 2003/07/08 16:52:40 abs Exp $ # -DISTNAME= cpuflags-0.51 +DISTNAME= cpuflags-0.52 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/optimize_gcc.mk b/devel/cpuflags/files/optimize_gcc.mk index 58418de7565..b4247416b42 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.8 2003/06/17 15:04:49 abs Exp $ +# $Id: optimize_gcc.mk,v 1.9 2003/07/08 16:52:41 abs Exp $ # This file is 'experimental' - which is doublespeak for unspeakably # ugly, and probably quite broken by design. @@ -28,13 +28,21 @@ PKGBASE=${.CURDIR:C:.*/::} COPT_FLAGS+=-ffast-math -fomit-frame-pointer PKG_EXCLUDE_RENAME_REGISTERS+= -PKG_EXCLUDE_OMIT_FRAME_POINTER+=galeon lua4 mozilla phoenix -.if !defined(USE_GCC3) +PKG_EXCLUDE_OMIT_FRAME_POINTER+=lua4 + +.if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386" +PKG_EXCLUDE_OMIT_FRAME_POINTER+=galeon mozilla phoenix +. if !defined(USE_GCC3) PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 +. endif .endif .if !empty(PKG_EXCLUDE_OMIT_FRAME_POINTER:M${PKGBASE}) +. if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386" +COPT_FLAGS:= ${COPT_FLAGS:S/-fomit-frame-pointer/-momit-leaf-frame-pointer/} +. else COPT_FLAGS:= ${COPT_FLAGS:S/-fomit-frame-pointer//} +. endif .endif # -O3 implies -finline-functions and -frename-registers |