From: Jim C. N. <jn...@pe...> - 2005-08-29 23:48:38
|
On Mon, Aug 29, 2005 at 04:39:49PM -0700, Mark Wong wrote: > On Mon, 29 Aug 2005 17:56:01 -0500 > "Jim C. Nasby" <jn...@pe...> wrote: > > > Any reason $(CFLAGS) isn't included when building > > storedproc/pgsql/c/funcs.so? Trying to compile with -m64 breaks because > > of this (simply adding $(CFLAGS) to the funcs.so rule in Makefile.am and > > Makefile.in seems to fix it... > > Maybe the rule is just wrong? Is it really using the compiler to > generate the .so from the .o, as opposed to the linker? Granted I don't > know what the -m64 is, but if it needs $(CFLAGS) in there, I'll put it > in. Haven't run into that problem on Linux yet... -m64 is used to generate 64 bit binaries. Unless there's a specific reason not to use CFLAGS when linking ISTM it should be in there... -- Jim C. Nasby, Sr. Engineering Consultant jn...@pe... Pervasive Software http://pervasive.com 512-569-9461 |