Andy Shellam <andy-lists@networkmail.eu> writes:
> I was going to post this to pgsql-hackers but figured it might be more
> suitable on this list first. I'm trying to compile a 32-bit PostgreSQL
> client on a 64-bit system, however the SPI module is not respecting the
> CFLAGS and LDFLAGS option "-m32."
> My configure line is as follows:
> CFLAGS="-m32" LD="ld -m32 -melf_i386" ./configure
Doubtless, your problem is that you're setting LD not LDFLAGS.
regards, tom lane