[Lunar-commits] r22633 - moonbase/trunk/science/jasper
Dennis Veatch
stumbles at lunar-linux.org
Mon Dec 18 14:56:47 CET 2006
Author: stumbles
Date: 2006-12-18 14:56:47 +0100 (Mon, 18 Dec 2006)
New Revision: 22633
Modified:
moonbase/trunk/science/jasper/BUILD
Log:
On x86_64, jasper compiles fine without -fPIC however
kdelibs3 barfs on ;
/bin/sh ../libtool --silent --tag=CXX --mode=link g++
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE
/usr/bin/ld: `-retain-symbols-file' overrides `-s' and `-S'
/usr/bin/ld: /usr/lib/libjasper.a(jas_cm.o): relocation R_X86_64_32
against `a local symbol' can no /usr/lib/libjasper.a(jas_cm.o):
could not read symbols: Bad value
Adding -fPIC to the jasper build fixes this.
Modified: moonbase/trunk/science/jasper/BUILD
===================================================================
--- moonbase/trunk/science/jasper/BUILD 2006-12-18 13:08:59 UTC (rev 22632)
+++ moonbase/trunk/science/jasper/BUILD 2006-12-18 13:56:47 UTC (rev 22633)
@@ -1,11 +1,12 @@
(
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var &&
+ export CFLAGS="$CFLAGS -fPIC"
- default_make
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var &&
+ default_make
+
) > $C_FIFO 2>&1
-
More information about the Lunar-commits
mailing list