Re: official submission for OU8/UnixWare sharedlib patch

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: official submission for OU8/UnixWare sharedlib patch
Date: 2001-08-27 14:12:22
Message-ID: Pine.LNX.4.30.0108271611290.679-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Larry Rosenman writes:

> I sent this to -hackers and peter_e, but thought it ought to go to
> -patches as well.

The -Bdynamic probably ought to disappear.

> This fixes the regression test .so builds on sysv5 systems:
> I believe this will fix peter_e's problen with gcc.
>
> Please advise if this is a bad idea...
>
> Index: Makefile.unixware
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/src/makefiles/Makefile.unixware,v
> retrieving revision 1.9
> diff -c -r1.9 Makefile.unixware
> *** Makefile.unixware 2000/12/16 18:14:25 1.9
> --- Makefile.unixware 2001/08/25 18:22:36
> ***************
> *** 16,21 ****
> else
> CXXFLAGS_SL = -K PIC
> endif
>
> %.so: %.o
> ! $(LD) -G -Bdynamic -o $@ $<
> --- 16,26 ----
> else
> CXXFLAGS_SL = -K PIC
> endif
> + ifeq ($(GCC), yes)
> + SO_FLAGS = -shared
> + else
> + SO_FLAGS = -G
> + endif
>
> %.so: %.o
> ! $(CC) $(SO_FLAGS) -Bdynamic -o $@ $<
>
>

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-08-27 14:42:34 Re: [PATCH] Prevent pg_dump running out of memory
Previous Message Larry Rosenman 2001-08-27 14:09:10 Re: official submission for OU8/UnixWare sharedlib patch