What if you added -fPIC to OPT_CFLAGS in 'packages/linux_make/Makefile'? The miXed build system will get the flags from that OPT_CFLAGS. Plus I think that setting it in OPT_CFLAGS would then set it everywhere.
On Jul 12, 2008, at 10:02 PM, Sergi Lario wrote:
Hi list,
I added the -fPIC cflag in all makefiles I get errors compiling on a 64 bits machine ( http://lists.puredata.info/pipermail/pd-list/2008-07/063706.html ) with coders of these externals agree.
But not with the miXed makefile.
sll at sll-cube:/home/pd-extended/externals/*miXed*$ vim Makefile.common
Line: 119
CFLAGS = *-fPIC* $(WARN_CFLAGS) $(OPT_CFLAGS) $(DEFINES) $(INCLUDES)
The -fPIC flag lets compile over 64 bit machines. With this changes I complied pd-extened with no problems.
Who can make this change?
Greetings,
Sergi.
_______________________________________________
Pd-dev mailing list