pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/glib2 Add hack for glib2 on hp-ux/hppa: build wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4d7bb3c960b5
branches: trunk
changeset: 528188:4d7bb3c960b5
user: tnn <tnn%pkgsrc.org@localhost>
date: Tue Apr 24 11:00:36 2007 +0000
description:
Add hack for glib2 on hp-ux/hppa: build without optimization due to crash
in libgobject early in libgtk2 startup.
diffstat:
devel/glib2/hacks.mk | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 3a8575b1c5ac -r 4d7bb3c960b5 devel/glib2/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2/hacks.mk Tue Apr 24 11:00:36 2007 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: hacks.mk,v 1.1 2007/04/24 11:00:36 tnn Exp $
+
+.if !defined(GLIB2_HACKS_MK)
+GLIB2_HACKS_MK= defined
+
+# Build without optimization. Avoids crash in libgobject on gtk2 initialization.
+# Bug is triggered regardless of whether we're using gcc or aCC.
+.if !empty(MACHINE_PLATFORM:MHPUX-*-hppa)
+PKG_HACKS+= hppa-codegen
+CFLAGS:= -O0 ${CFLAGS:C/[+,-]O[0-9]?//g}
+.endif
+
+.endif # GLIB2_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index