fixing Makefile.shlib for solaris/gcc with -m64 flag - Mailing list pgsql-hackers

From Jignesh K. Shah
Subject fixing Makefile.shlib for solaris/gcc with -m64 flag
Date
Msg-id 45AE17CE.6080904@sun.com
Whole thread Raw
Responses Re: fixing Makefile.shlib for solaris/gcc with -m64 flag  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello All,

When I compile with gcc on Solaris with -m64 flags, all shared lbiraries fail.

Can someone fix the following in Makefile.shlib


ifeq ($(PORTNAME), solaris)  ifeq ($(GCC), yes)    LINK.shared         = $(CC) -shared  else    LINK.shared         =
$(CC)-G $(CFLAGS)    # CFLAGS added for X86_64  endif
 


It should be

ifeq ($(PORTNAME), solaris)  ifeq ($(GCC), yes)    LINK.shared         = $(COMPILER) -shared  else    LINK.shared
 = $(CC) -G $(CFLAGS)    # CFLAGS added for X86_64  endif
 


Thanks.
Regards,
Jignesh


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: .po translation
Next
From: Andrew Dunstan
Date:
Subject: Re: With Function 'Chr', is it a bug?