Re: [PORTS] Re: port v7.0 to SGI-IRIX-6.5.7/64 - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: [PORTS] Re: port v7.0 to SGI-IRIX-6.5.7/64
Date
Msg-id 200005222358.TAA01876@candle.pha.pa.us
Whole thread Raw
In response to Re: port v7.0 to SGI-IRIX-6.5.7/64  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PORTS] Re: port v7.0 to SGI-IRIX-6.5.7/64
List pgsql-bugs
> > 3- src/pl/tcl/Makefile has a bug. line 69 is
> > CFLAGS= $(TCL_CFLAGS_OPTIMIZE)
> > that clobbers all CFLAGS included previously. as a result the include
> > directories, important to find tcl.h etc. will not be added to the
> > options and the compilation stops here complaining that it can't locate
> > tcl.h etc.
> > I just changed it to
> > CFLAGS+= $(TCL_CFLAGS_OPTIMIZE)
>
> Good point, but that's no solution --- the reason that the makefile
> isn't keeping the main CFLAGS is that Tcl (and hence pltcl) may be
> built with a different compiler than Postgres is being built with.
> The Tcl compiler may not like the other compiler's switches.  I guess
> we could arrange to insert just the -I switches from your
> --with-includes configuration command, however.

Tom, do you want his verion in Makefile, or the original?

--
  Bruce Momjian                        |  http://www.op.net/~candle
  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

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: port v7.0 to SGI-IRIX-6.5.7/64
Next
From: Bruce Momjian
Date:
Subject: Re: Just checking on a few bugs...