Hi all, I was noticing that librra.so doesn't build with pic support and is a shared library. Interestingly enough all the .o files some to be compiled with pic, just this one section doesn't:
i686-pc-linux-gnu-gcc -shared .libs/appointment.o .libs/dbstream.o .libs/common_handlers.o .libs/contact.o .libs/environment.o .libs/generator.o .libs/parser.o .libs/recurrence.o .libs/recurrence_pattern.o .libs/matchmaker.o .libs/mdir_line_vector.o .libs/rrac.o .libs/strbuf.o .libs/strv.o .libs/syncmgr.o .libs/task.o .libs/timezone.o .libs/uint32vector.o -lmimedir /usr/lib/librapi.so -L/usr/lib /usr/lib/libsynce.so -march=pentium4 -mieee-fp -march=pentium4 -mieee-fp -Wl,-soname -Wl,librra.so.0 -o .libs/librra.so.0.0.0 I've gone through a load of m4/.ac/Makefile's without much luck as to trace back what is actually calling this line. There seems to be a $pic_flag variable in aclocal.m4 which correctly addresses the different architecture and compiler specific PIC settings, but the question is where to put it. Thanks ahead of time for any responses. Chris White
pgppu7eE4V3tc.pgp
Description: PGP signature