pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl58 Modify previous: only enable -fno-cse-skip...
details: https://anonhg.NetBSD.org/pkgsrc/rev/32c917ee4205
branches: trunk
changeset: 493553:32c917ee4205
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Mon May 09 15:41:52 2005 +0000
description:
Modify previous: only enable -fno-cse-skip-blocks when compiler is
gcc-3.x.
diffstat:
lang/perl58/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r e84439b45f93 -r 32c917ee4205 lang/perl58/Makefile
--- a/lang/perl58/Makefile Mon May 09 15:35:44 2005 +0000
+++ b/lang/perl58/Makefile Mon May 09 15:41:52 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2005/05/09 15:35:44 xtraeme Exp $
+# $NetBSD: Makefile,v 1.80 2005/05/09 15:41:52 xtraeme Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -43,6 +43,8 @@
PKG_INSTALLATION_TYPES= overwrite pkgviews
+.include "../../mk/compiler.mk"
+
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -sde
@@ -51,7 +53,9 @@
CONFIGURE_ARGS+= -Darchname="${MACHINE_ARCH}-${LOWER_OPSYS}"
CONFIGURE_ARGS+= -Dcc="${CC}"
.if !empty(MACHINE_ARCH:Marm)
+. if !empty(CC_VERSION:Mgcc-3*)
CONFIGURE_ARGS+= -Doptimize="${CFLAGS} -fno-cse-skip-blocks"
+. endif
.else
CONFIGURE_ARGS+= -Doptimize="${CFLAGS}"
.endif
Home |
Main Index |
Thread Index |
Old Index