pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cpuflags Updated cpuflags to 0.56



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38eecd7f727c
branches:  trunk
changeset: 459785:38eecd7f727c
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 07 11:30:04 2003 +0000

description:
Updated cpuflags to 0.56
        - If !defined BSD_PKG_MK and DBG is set to -Os, do not alter COPTS.
          This stops setting of -march=XXX causing overflowing of install media
        - disable -fomit-frame-pointer for lua and koffice

diffstat:

 devel/cpuflags/Makefile              |  4 ++--
 devel/cpuflags/files/cpuflags.mk     |  5 +++--
 devel/cpuflags/files/optimize_gcc.mk |  6 +++---
 3 files changed, 8 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 695166bd4ecf -r 38eecd7f727c devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile   Thu Aug 07 10:38:53 2003 +0000
+++ b/devel/cpuflags/Makefile   Thu Aug 07 11:30:04 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.58 2003/07/20 14:21:52 abs Exp $
+# $NetBSD: Makefile,v 1.59 2003/08/07 11:30:04 abs Exp $
 #
 
-DISTNAME=      cpuflags-0.55
+DISTNAME=      cpuflags-0.56
 CATEGORIES=    sysutils
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 695166bd4ecf -r 38eecd7f727c devel/cpuflags/files/cpuflags.mk
--- a/devel/cpuflags/files/cpuflags.mk  Thu Aug 07 10:38:53 2003 +0000
+++ b/devel/cpuflags/files/cpuflags.mk  Thu Aug 07 11:30:04 2003 +0000
@@ -1,4 +1,4 @@
-# $Id: cpuflags.mk,v 1.9 2003/06/06 15:26:50 abs Exp $
+# $Id: cpuflags.mk,v 1.10 2003/08/07 11:30:05 abs Exp $
 # Makefile include fragment to simplify use of cpuflags in pkgsrc
 # abs%netbsd.org@localhost - freely distributable, no warrenties, stick no bills.
 
@@ -30,7 +30,8 @@
 CXXFLAGS+=${CPU_FLAGS}
 MAKE_FLAGS+=CCOPTIONS="${CPU_FLAGS}"   # Override CCOPTIONS for imake
 
-.else                                  # Assume in base system, only COPTS
+.elif !defined(DBG) || ${DBG} != "-Os"
+# Assume in base system and not building distrib optimised for space, set COPTS
 COPTS?=${CPU_FLAGS} ${DEFCOPTS}
 # Include ${DEFCOPTS} and set ?= to allow overriding in kernel builds
 
diff -r 695166bd4ecf -r 38eecd7f727c devel/cpuflags/files/optimize_gcc.mk
--- a/devel/cpuflags/files/optimize_gcc.mk      Thu Aug 07 10:38:53 2003 +0000
+++ b/devel/cpuflags/files/optimize_gcc.mk      Thu Aug 07 11:30:04 2003 +0000
@@ -1,4 +1,4 @@
-# $Id: optimize_gcc.mk,v 1.12 2003/07/20 14:21:52 abs Exp $
+# $Id: optimize_gcc.mk,v 1.13 2003/08/07 11:30:05 abs Exp $
 
 # This file is 'experimental' - which is doublespeak for unspeakably
 # ugly, and probably quite broken by design.
@@ -29,10 +29,10 @@
 
 COPT_FLAGS+=-ffast-math -fomit-frame-pointer
 
-PKG_EXCLUDE_OMIT_FRAME_POINTER+=galeon lua4 mozilla phoenix
+PKG_EXCLUDE_OMIT_FRAME_POINTER+=galeon lua lua4 mozilla phoenix
 PKG_EXCLUDE_INLINE_FUNCTIONS+=userppp
 .if !defined(USE_GCC3)
-PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3
+PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 koffice
 .endif
 
 .if !empty(PKG_EXCLUDE_OMIT_FRAME_POINTER:M${PKGBASE})



Home | Main Index | Thread Index | Old Index