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

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Murad Nayal <murad@godel.bioc.columbia.edu>, pgsql-ports@postgresql.org, bugs@postgresql.org
Date: 2000-05-22T23:58:45Z
Lists: pgsql-bugs, pgsql-hackers
> > 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