Port-sgimips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Qt4-libs [from pkgsrc] build failure on -current ?
On Sat, 24 Oct 2009 08:56:47 -0700 (PDT)
Andrew Randrianasulu <randrik_a%yahoo.com@localhost> wrote:
> gmake[1]: Entering directory
> `/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.5.2/src/script'
[...]
> /var/tmp//ccdV811I.s: Assembler messages:
> /var/tmp//ccdV811I.s:54375: Error: Branch out of range
> Anyone know any workaround? (this machine, 180mhz r5k CPU/256MB RAM SGI O2 a
> bit too slow for building just everything)
Please try the attached diff.
-Tobias
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt4-libs/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile 13 Oct 2009 15:59:02 -0000 1.36
+++ Makefile 24 Oct 2009 18:29:31 -0000
@@ -73,6 +73,12 @@
SUBST_SED.socklen= -e 's/QT_SOCKLEN_T.*/QT_SOCKLEN_T socklen_t/'
.endif
+.include "../../mk/compiler.mk"
+
+.if !empty(MACHINE_ARCH:M*mips*) && !empty(PKGSRC_COMPILER:Mgcc)
+CXXFLAGS+= -mlong-calls
+.endif
+
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index