pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/tgif turn off optimization with sunpro to get...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc5ad8617619
branches: trunk
changeset: 523974:bc5ad8617619
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Mon Jan 15 23:04:24 2007 +0000
description:
turn off optimization with sunpro to get this to build
diffstat:
graphics/tgif/hacks.mk | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r 0ba41946a0e8 -r bc5ad8617619 graphics/tgif/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tgif/hacks.mk Mon Jan 15 23:04:24 2007 +0000
@@ -0,0 +1,21 @@
+# $Id: hacks.mk,v 1.1 2007/01/15 23:04:24 dmcmahill Exp $
+
+.if !defined(FOO_TGIF_MK)
+TGIF_HACKS_MK= defined
+
+### [Mon Jan 15 17:44:27 EST 2007 : dmcmahill]
+### Sunpro cc (Sun C 5.8 2005/10/13) on SunOS-5.9/sparc
+### src/arc.c
+###
+### cc: Fatal error in /opt/SUNWspro/prod/bin/iropt
+### Status 139
+### cc: iropt failed for arc.c
+###
+### Work around by not optimizing
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+PKG_HACKS+= optimisation
+BUILDLINK_TRANSFORM+= rm:-O2
+.endif
+
+.endif # TGIF_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index