From: Daniel Caujolle-B. <lo...@cl...> - 2001-02-21 23:30:42
|
Hi Michel, Michel Lespinasse wrote: > > Hi guenter, > > If you find a way to make libtool compile plugins without the -fPIC > option, I'd love to hear about this. -fPIC seems to be about a 5% > slowdown for libmpeg2 last time I tried. Well, here is what i hack for that: in your configure.in, at the bottom, add this: dnl dnl Hack the libtool script. dnl cat libtool | sed -e 's/^pic_flag=/#pic_flag=/' > libtool-nofpic chmod +x libtool-nofpic and in the Makefile.am located in plugin directory, add this: LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic et voila ;-) Cheers. -- 73's de Daniel, F1RMB. -=- Daniel Caujolle-Bert -=- lo...@cl... -=- -=- f1...@f1... (AMPR NET) -=- |