Re: Compile failures today - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Compile failures today
Date
Msg-id 20180824225010.GA20306@momjian.us
Whole thread Raw
In response to Re: Compile failures today  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Aug 24, 2018 at 06:41:07PM -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2018-08-24 18:21:48 -0400, Bruce Momjian wrote:
> >> Since no one else was seeing this problem, I started digging, and I have
> >> found it.  I narrowed it to down to this line in Makefile.custom
> >> CC=ccache gcc
> 
> > Yea, that's a bad idea. You should instead pass CC='ccache gcc' to
> > configure, rather than doing it Makefile.custom.
> 
> Indeed.  This way is overriding the CC setting configure chose, which
> means that none of configure's determinations of compiler properties
> (or much else, perhaps) are really valid.

You are right that "CC='ccache gcc' configure" worked properly.  Thanks.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Compile failures today
Next
From: Amit Kapila
Date:
Subject: Re: Problem while setting the fpw with SIGHUP