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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to