Thread: Makefile.aix patch for shlib's

Makefile.aix patch for shlib's

From
"Zeugswetter Andreas SB SD"
Date:
Feature patch per prev thread for --with-tcl, only affects AIX

patch is low risc, thus could be applied now, but can also wait for 7.3
Old Makefile shows, that -bnoentry is available since 4.1 .

Andreas

Attachment

Re: Makefile.aix patch for shlib's

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Zeugswetter Andreas SB SD wrote:
>
> Feature patch per prev thread for --with-tcl, only affects AIX
>
> patch is low risc, thus could be applied now, but can also wait for 7.3
> Old Makefile shows, that -bnoentry is available since 4.1 .
>
> Andreas

Content-Description: Makefile.aix.patch

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: Makefile.aix patch for shlib's

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


Zeugswetter Andreas SB SD wrote:
>
> Feature patch per prev thread for --with-tcl, only affects AIX
>
> patch is low risc, thus could be applied now, but can also wait for 7.3
> Old Makefile shows, that -bnoentry is available since 4.1 .
>
> Andreas

*** ./src/makefiles/Makefile.aix.orig    Wed Aug 29 21:14:40 2001
--- ./src/makefiles/Makefile.aix    Wed Jan  9 18:15:17 2002
***************
*** 10,17 ****
  ifneq ($(GCC), yes)
    ifeq ($(host_os), aix3.2.5)
      LDFLAGS_SL = -e _nostart
!   endif
!   ifneq (,$(findstring aix4.1, $(host_os)))
      LDFLAGS_SL = -bnoentry
    endif
  endif
--- 10,16 ----
  ifneq ($(GCC), yes)
    ifeq ($(host_os), aix3.2.5)
      LDFLAGS_SL = -e _nostart
!   else
      LDFLAGS_SL = -bnoentry
    endif
  endif

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026