pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/py-sip Work around gcc/sparc64/-O2 bug by using bu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a0977ec0b056
branches: trunk
changeset: 604282:a0977ec0b056
user: jdc <jdc%pkgsrc.org@localhost>
date: Tue May 29 10:57:16 2012 +0000
description:
Work around gcc/sparc64/-O2 bug by using buildlink to remove "-O2".
diffstat:
x11/py-sip/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 3feb81039eb9 -r a0977ec0b056 x11/py-sip/Makefile
--- a/x11/py-sip/Makefile Tue May 29 03:01:15 2012 +0000
+++ b/x11/py-sip/Makefile Tue May 29 10:57:16 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2012/05/23 13:26:49 obache Exp $
+# $NetBSD: Makefile,v 1.32 2012/05/29 10:57:16 jdc Exp $
DISTNAME= sip-4.13.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -51,6 +51,12 @@
. endif
.endif
+# Hack: gcc on sparc64 miscompiles sipgen/parser.c at -O2
+.if ${MACHINE_ARCH} == "sparc64" && !empty(CC_VERSION:Mgcc*)
+BUILDLINK_TRANSFORM+= rm:-O2
+.endif
+
+
SUBST_CLASSES+= pyversfx
SUBST_STAGE.pyversfx= pre-configure
SUBST_FILES.pyversfx= sipgen/sipgen.sbf
Home |
Main Index |
Thread Index |
Old Index