From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jignesh K(dot) Shah" <J(dot)K(dot)Shah(at)sun(dot)com>, Robert Lor <Robert(dot)Lor(at)sun(dot)com> |
Subject: | Re: fixing Makefile.shlib for solaris/gcc with -m64 flag |
Date: | 2007-01-17 16:24:36 |
Message-ID: | 200701171724.38068.peter_e@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Am Mittwoch, 17. Januar 2007 17:12 schrieb Tom Lane:
> "Jignesh K. Shah" <J(dot)K(dot)Shah(at)Sun(dot)COM> writes:
> > simple if I use -m64 for 64 bit then all end binaries are generated
> > 64-bit and the shared libraries are generated 32-bit and the compilation
> > fails (ONLY ON SOLARIS) since that particular line is only for the
> > condition Solaris AND gcc.
> >
> > If I use the COMPILER which is CC + CFLAGS it passes -m64 properly to it
> > and generates shared libraries 64-bit and the compile continues..
>
> Hmm ... I see we're doing it that way already for some other platforms,
> but I can't help thinking it's a kluge. Wouldn't the correct answer be
> that -m64 needs to be in LDFLAGS?
The correct answer may be to put -m64 into CC.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2007-01-17 16:29:44 | Re: .po translation |
Previous Message | Neil Conway | 2007-01-17 16:23:10 | Re: [COMMITTERS] pgsql: Implement width_bucket() for the |