Received: from candle.pha.pa.us (pgman@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id UAA64502; Mon, 22 May 2000 20:00:32 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id TAA01876; Mon, 22 May 2000 19:58:45 -0400 (EDT) From: Bruce Momjian Message-Id: <200005222358.TAA01876@candle.pha.pa.us> Subject: Re: [PORTS] Re: port v7.0 to SGI-IRIX-6.5.7/64 In-Reply-To: <21197.959038546@sss.pgh.pa.us> from Tom Lane at "May 22, 2000 07:35:46 pm" To: Tom Lane Date: Mon, 22 May 2000 19:58:45 -0400 (EDT) CC: Murad Nayal , pgsql-ports@postgresql.org, bugs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200005/7 > > 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