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
This commit is contained in:
parent
a27e925c08
commit
606f83a9b4
2 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue