Ok, sounds good.

OPT_CFLAGS appears only in the makefile of this externals: jackx and miXed

At the moment jackx makefile has -fPIC flag, so that we have two options

* to add -fPIC to OPT_CFLAGS in linux_make/Makefile and remove the jackx one if is needed (duplicate)
* to add -fPIC to miXed Makefile.common directly

Sergi.



2008/7/20 Hans-Christoph Steiner <hans@eds.org>:

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.

.hc


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



----------------------------------------------------------------------------

As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously.         - Benjamin Franklin